Пример #1
0
        private void btnCheckLogs_Click(object sender, EventArgs e)
        {
            string instruction = "AAEAAAD/////AQAAAAAAAAAMAgAAAEZEVlRBIENURiBTZXJ2ZXIsIFZlcnNpb249MS4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1udWxsBQEAAAAYRFZUQV9DVEZfU2VydmVyLkNoZWNrTG9nAAAAAAIAAAAL";

            try
            {
                MessageBox.Show(ClientConnect.CheckLogs(serverAddress, serverPort, Main.clientHash, instruction));
            }
            catch (System.Net.Sockets.SocketException)
            {
                MessageBox.Show("Could not connect to the server!", "Error!");
            }
        }