Guest User

Untitled

a guest
Nov 18th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. localhost.Service1 webService = new localhost.Service1();
  2. System.Net.NetworkCredential credentials = new System.Net.NetworkCredential()
  3. {
  4. Domain = "tu-dominio",
  5. UserName = "tu-usuario",
  6. Password = "tu-password"
  7. };
  8. webService.Credentials = credentials;
  9. string result = webService.HelloWorld();
Add Comment
Please, Sign In to add comment