title: What is NTLM/Authenticate/Negotiate web authentication
body: <p>I understand basic and digest authentication. But I've searched a lot and I'm struggling with NTLM, Authenticate, &amp; Negotiate.</p>
  
  <p>I think, correct me if I am wrong, that NTLM &amp; Authenticate are two terms for the same protocol.</p>
  
  <p>And negotiate is trying first NTLM, then falling back to digest, then falling back to basic to connect.</p>
  
  <p>Is that correct? And if so where is a good example of how to connect in C# both for NTLM only and for negotiate.</p>
  
  <p>I have two use cases. The first is I need to pull down a single file. So make a request, get an XML file as the response, read it down, done.</p>
  
  <p>The second is querying OData so hundreds to thousands of web requests, each of which will provide JSON (or XML) as the response.</p>