Skip to content

Instantly share code, notes, and snippets.

@cfurrow
Created January 4, 2012 02:58
Set WebRequest.Proxy to Null
private WebResponse BuildAndGetResponse()
{
string url = BuildUrl();
WebRequest request = null;
WebResponse response = null;
request = WebRequest.Create(url);
request.Proxy = null; // muy importanté
response = request.GetResponse();
return response;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment