You need to give the WebClient object the credentials. Something like this…
WebClient client = new WebClient();
client.Credentials = new NetworkCredential("username", "password");
You need to give the WebClient object the credentials. Something like this…
WebClient client = new WebClient();
client.Credentials = new NetworkCredential("username", "password");