Пример #1
0
        private SecureTcpClient CreateConnection()
        {
            var connection = new SecureTcpClient(serverAddress, serverPort);

            return connection;
        }
Пример #2
0
        private static SecureTcpClient CreateConnection()
        {
            var connection = new SecureTcpClient(ServerAddress, ServerPort);

            return connection;
        }