Beispiel #1
0
        internal static void StartClient(string serverName, uint port)
        {
            if (serverName == null)
            {
                throw new ArgumentNullException(nameof(serverName), "Server cannot be null");
            }
            UIntPtr size;

            byte[] serverNamePtr = CreateUTF8String(serverName, out size);
            Interop.NT_StartClient(serverNamePtr, port);
        }