Home > Net > Access NTLM authentication website ASP.NET HttpClient, wanted him to landing the pop-up box, ok?
Access NTLM authentication website ASP.NET HttpClient, wanted him to landing the pop-up box, ok?
Time:10-03
First of all, I have A web site A, set the domain authentication, the browser will automatically pop up when open the domain to validate input box, I in this website A put A page, if the domain account after landing, it will be according to the domain account, return A string of JSON content: The
, there is no other content,
The function getLogin () { Window. Frames [' login ']. Location. The href="http:///adlogin2 B. Aspx"; Alert (window frames [' login '] document. ContentDocument. InnerHTML); }
CodePudding user response:
If use webbrowser can obtain the document structure, like a normal browser operation