Skip to content

Instantly share code, notes, and snippets.

@ordepdev
Created June 12, 2015 16:41
Show Gist options
  • Save ordepdev/f06d1a0d2bd7ae43d152 to your computer and use it in GitHub Desktop.
Save ordepdev/f06d1a0d2bd7ae43d152 to your computer and use it in GitHub Desktop.
Inject an intranet proxy
var proxy = new System.Net.WebProxy()
{
Address = new System.Uri("http://000.000.000.000:0000"),
Credentials = new System.Net.NetworkCredential("username", "password")
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment