I\'m trying to use HTTPWebRequest to access a web service, and am having problems passing credentials in, see code below. I can see the credentials object, nc, being built i
It helped me (for Unity3d mono, not ASP.Net):
request.PreAuthenticate = true;
Do not need manual set Authorization header or use CredentialCache.