title: How to authenticate to Visual Studio Team Services with the new basic authentication from a .Net Windows Service?
body: <p>I am trying to access <a href="https://visualstudio.com" rel="nofollow noreferrer">https://visualstudio.com</a> (formerly known as <a href="https://tfs.visualstudio.com" rel="nofollow noreferrer">https://tfs.visualstudio.com</a>, <a href="http://www.tfspreview.com" rel="nofollow noreferrer">http://www.tfspreview.com</a>) from my Windows Service written on .NET.</p>
  
  <p>I want to use the new basic authentication but I couldn't find a way to do it. </p>
  
  <p>I found a lot of links to the blog post <a href="http://tfspreview.com/en-us/home/news/2012/aug-27/" rel="nofollow noreferrer">Team Foundation Service updates - Aug 27</a> but it is using the Team Explorer Everywhere Java client for TFS.</p>
  
  <p>Is there a new version of the TFS .NET Object Model to support the basic authentication?</p>
  
  <p>By the way I've successively logged in with the service account. <a href="https://stackoverflow.com/questions/11560568/how-to-authenticate-to-https-tfspreview-com-microsoft-hosted-tfs-using-java">This answer</a> was very useful.</p>