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