Click here to Skip to main content
15,887,376 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I tried using the debugger and it runs through just as it should I am trying to use a proxy to connect through IExplorer. and yeah well.. its not using the proxy I am providing it and its not giving me any errors aswell.. Did I miss something?

https://i.gyazo.com/b95c7516a407f6a3b784343aad63c0cc.png[^]

C#
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
    var request = (HttpWebRequest)WebRequest.Create("http://www.google.com");
    var myproxy = new WebProxy(proxyBox.Text, false);
    request.Proxy = myproxy;
    request.Method = "GET";
    var response = (HttpWebResponse)request.GetResponse();


What I have tried:

I've tried finding docs about webrequest but couldnt find anything that solved my issue
Posted
Comments
an0ther1 22-May-16 19:41pm    
Duplicate question - refer;
http://www.codeproject.com/Questions/1101926/Browser-navigation-not-connecting-through-a-proxy

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900