c# - How to get user name and password from url in ASP.NET? -


How can I get the ASP.NET username and password from the URL?

  https: // myUser: myPassword @ myServer /  

HttpContext.Current.Request.Url is coming back < Code> https: // myServer / .

You need to reach the authorization header.

Information about HTTP Authentication:

Applying it to ASP.NET:


Comments