0

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?

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

enter image description here

0 Answers0