cfurrow
1/4/2012 - 2:58 AM

Set WebRequest.Proxy to Null

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;
    }