Credentials in Url

  • Thread starter Thread starter Christof Nordiek
  • Start date Start date
C

Christof Nordiek

Hi,

I can use the UriBuilder to put credentials (username/password) in an Uri.
Then, when I give this Uri to an WebBrowser, it works fine.
My Question now is: Can i also put domain-information into the Uri?
I suppose I will have to use some encoding of the @ or \ in the
username@domain or domain\username.
Any idea?

Thanks
 
Hi !

This sound you'll try to use NTLM authentification through URL
autentification. This do never work! NTLM takes the current users logon
token or just forces the browser to popup the authentification dialog.

Best regards,
Manfred
 
Hi Manfred,

thanks for yur response.
Any way to programmatically answer the dialog?
 
If you were talking WebClient (not WebBrowser) then you can look at
..Credentials and .UseDefaultCredentials; I can't see anything similar
exposed on WebBrowser, thought...

Marc
 
Back
Top