Created
November 12, 2013 18:01
-
-
Save MikeSel/7435669 to your computer and use it in GitHub Desktop.
Pass currently logged on users details to proxy server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim request As Net.HttpWebRequest = Net.WebRequest.Create("http://www.mikesel.info") | |
Dim response As Net.WebResponse | |
request.Proxy = Net.WebRequest.GetSystemWebProxy | |
request.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials | |
response = DirectCast(request.GetResponse(), HttpWebResponse) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment