Пример #1
0
        public void QuerySystemTest()
        {
            var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);

            socket.Connect(Host, Port);
            var operationPerformer = new OperationPerformer(socket);

            operationPerformer.OmitWelcomeResponse();
            operationPerformer.LogIn(Username, Password);
            Console.WriteLine(operationPerformer.QuerySystem());
            operationPerformer.LogOut();
            Assert.IsTrue(true);
        }