-2

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?

1 Answers1

0

SSPI does it all for you. If you want to roll your own NTLM, there is a lot of work to be done. What is SSPI not doing for you?

markgamache
  • 436
  • 2
  • 6