C# HttpWebRequest Through Proxy

  • Thread starter Thread starter Fouad Abdi
  • Start date Start date
F

Fouad Abdi

Guest
hi guys



I want to use a proxy list in http requests. But when multiple HTTP requests are executed, the device's IP is blocked by the firewall server

Most of the available sources suggest the following method but the output is incorrect...

HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;
request.Proxy = new WebProxy("1.2.3.4:8080"); //Proxy Adreess
WebResponse myResponse = request.GetResponse();

Continue reading...
 
Back
Top