locked
Windows Authentication

    Question

  • Hi everyone!

    Developing an application I got a problem:
    How to pass through the site`s windows authentication by HtttpWebRequest?

    Or how to log in to this authentication type from C#?

    Is there another way?

    Thanks to everyone!

    Thursday, June 12, 2014 6:37 AM

Answers

  • make sure enterprise authentication is enabled in manifes

    if you use windows.http.httpclient you don't need to do anything, if using .net types (System.net.http.httpclient ex) set UseDefaultCredentials to true.


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, June 12, 2014 6:47 AM

All replies

  • make sure enterprise authentication is enabled in manifes

    if you use windows.http.httpclient you don't need to do anything, if using .net types (System.net.http.httpclient ex) set UseDefaultCredentials to true.


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, June 12, 2014 6:47 AM
  • Thanks a lot! It works.
    Friday, June 13, 2014 1:45 PM