How do I authenticate a WebClient request?

You need to give the WebClient object the credentials. Something like this…

 WebClient client = new WebClient();
 client.Credentials = new NetworkCredential("username", "password");

Leave a Comment