Skip to content

Instantly share code, notes, and snippets.

@chgeuer
Created February 28, 2012 07:36
Show Gist options
  • Save chgeuer/1930413 to your computer and use it in GitHub Desktop.
Save chgeuer/1930413 to your computer and use it in GitHub Desktop.
Set default proxy recipe
HttpWebRequest.DefaultWebProxy = new WebProxy("127.0.0.1", 8080)
{
BypassProxyOnLocal = true,
Credentials = new NetworkCredential("user", "pass")
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment