Credentials in Url

  • Thread starter Christof Nordiek
  • 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
 
M

mabra

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
 
C

Christof Nordiek

Hi Manfred,

thanks for yur response.
Any way to programmatically answer the dialog?
 
M

Marc Gravell

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top