
Execute the Default Network Login Credential Dialog box for WinForms
June 15th, 2007I had been looking for this for a while, and I finally got the right keywords. What I was trying to do was make sure that a user was logged into a website before my code tried to download something from it. I was setting the CredentialCache to DefaultCredentials, but this doesn’t work unless the user has already logged into the website. So, if you want to pop the default window and get the credentials from the user, here is the link:
http://msdn2.microsoft.com/en-US/library/aa375177.aspx
I’ll edit when I get some sample code working.
