I need to programmatically rewrite NTLM authentication over http.
.Net does it by simple code like this:
public static byte [] downloadFile(string url){
using (var client = new WebClient { Credentials = new NetworkCredential("username", "password", "domain") })
{
return client.DownloadData(url);
} }
But I want to modify NTLM over http that .Net implements and write a new class inherent by WebClient.
So which class in .Net implements NTLM over http or how .Net handle NTLM authentication?