I created a C# webbrowser with proxies,
when I import proxies in textbox2
. It gets one by one and go to the given URL.
If I input 50 proxies, webbrowser should go 50 times (1 visit per each proxy).
I coded it but website display only one time for last proxy.
here the code
private void button1_Click(object sender, EventArgs e)
{
string[] ipaddress = textBox2.Text.Split('\n');
for(int i=0;i<Convert.ToInt32(ipaddress.Length);i++)
{
WinInetInterop.SetConnectionProxy(ipaddress[i]);
label1.Text = ipaddress[i];
webBrowser1.Url = new Uri(textBox1.Text);
}
}
I want to launch website for all proxies.