2
votes
1answer
721 views

Get Error 401 when trying to download a document from a library programatically

I'm trying to download a document with this code : using (Impersonator impersonator = new Impersonator()) { siteURL += "?NoRedirect=true"; System.Net.WebClient _WebClient = new ...