Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WebClient client = new WebClient();
- string URI = "http://localhost:55999/token";
- string myParameters = "UserName=user&Password=user";
- client.Credentials = new NetworkCredential("user", "password");
- string HtmlResult = client.UploadString(URI, myParameters);
Add Comment
Please, Sign In to add comment