SyntaxFix
Write A Post
Hire A Developer
Questions
You need to give the WebClient object the credentials. Something like this...
WebClient client = new WebClient(); client.Credentials = new NetworkCredential("username", "password");