Beispiel #1
0
        private void btnEcho_Click(object sender, EventArgs e)
        {
            DemoServiceSecureClient.DemoServiceSecureClient client;

            client       = new DemoServiceSecureClient.DemoServiceSecureClient();
            tbEcho.Text += client.Echo(tbEcho.Text);
            client.Close();
        }
Beispiel #2
0
        private void btnGetHostTime_Click(object sender, EventArgs e)
        {
            DemoServiceSecureClient.DemoServiceSecureClient client;

            client          = new DemoServiceSecureClient.DemoServiceSecureClient();
            tbHostTime.Text = client.GetHostTime().ToLongTimeString();
            client.Close();
        }
Beispiel #3
0
        private void btnPing_Click(object sender, EventArgs e)
        {
            DemoServiceSecureClient.DemoServiceSecureClient client;

            client      = new DemoServiceSecureClient.DemoServiceSecureClient();
            tbPing.Text = client.Ping();
            client.Close();
        }