The basic usage such as connecting to a server in C#

ProudNet C# Wrapper is defined in namespace ProudClr. And the rest of names are defined in namespace (Proud) under ProudNet C++ API. API of ProudNet C# and that of C++ are almost the same. Please refer to an example below. You can find more detailed information of API in ProudNet C# Wrapper source above. You must understand C++ API in order to use ProudNet C# API properly. (Refer to ProudNet 튜토리얼)

using namespace Nettention.ProudClr;
CNetServer server = new CNetServer();
server.AttachStub(C2Sstub);
server.AttachProxy(S2Cproxy);
CStartServerParameter param = new CStartServerParameter();
ProudNetClrTestCommon.Vars vars = new ProudNetClrTestCommon.Vars();
param.m_protocolVersion = Vars.m_Version;
param.m_tcpPort = Vars.m_serverPort;
if (server.Start(param) == false)
Console.WriteLine("Server start failed~!!\n");
else
Console.WriteLine("Server has started~!!\n");
Nettention.ProudClr.HostID[] list = server.GetClientHostIDs();
groupHostID = server.CreateP2PGroup(list, new Nettention.ProudClr.ByteArray());