C# HttpWebRequest request through proxy
Budget: $10 – $30 USD
os: windows10 / vs 2015
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://google.com");
WebProxy myproxy = new WebProxy("59.31.90.206", 4145);
myproxy.BypassProxyOnLocal = false;
req.Proxy = myproxy;
req.Method = "GET";
HttpWebResponse res = (HttpWebResponse)req.GetResponse();
this is mycode but i got error
please help me
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://google.com");
WebProxy myproxy = new WebProxy("59.31.90.206", 4145);
myproxy.BypassProxyOnLocal = false;
req.Proxy = myproxy;
req.Method = "GET";
HttpWebResponse res = (HttpWebResponse)req.GetResponse();
this is mycode but i got error
please help me