hfxdkhrxtr 0 Newbie Poster

How to implement (Browse from path "c:\Proxy List.txt") Proxy List in C# WebBrowser control/Component.

What I want to know, is how to implement proxy-list from "c:\proxylist.txt", so my C# webBrowser control use this proxy for browsing when its run.

I also don't want to change proxy through registry ... because it affect my normal Browsing...

please tell me how do i implement "proxylist.txt" in my this program.

this is my program code:

try
        {
            webBrowser1.Navigate(textBox1.Text);
            webBrowser1.ScriptErrorsSuppressed = true;
            while (webBrowser1.ReadyState != WebBrowserReadyState.Complete)
            {
                Application.DoEvents();
            }
        }
        catch(Exception)
        {
             MessageBox.Show("Internet Connection not found","Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
             this.Close();
        }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.