C# HttpWebRequest request through proxy

Job ID: 35510172

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
Related categories: C Programming C# Programming