Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     localhost.Service1 myService = new localhost.Service1();
     myService.Credentials = System.Net.CredentialCache.DefaultCredentials;
     textBox1.Text         = myService.GetInformation();
     myService.Dispose();
 }