Detecting dead proxies
Posted
by
Afnan
on Stack Overflow
See other posts from Stack Overflow
or by Afnan
Published on 2011-01-02T22:48:30Z
Indexed on
2011/01/02
22:53 UTC
Read the original article
Hit count: 275
Is it possible to detect which proxy is active which is dead? using c# and a combo box containing list of proxies with port number is there any way we take every proxy one by one and determine as if it was dead or active?
Microsoft.Win32.RegistryKey registry = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
registry.SetValue("ProxyEnable", 1);
registry.SetValue("ProxyServer", comboBox1.Text)
;
© Stack Overflow or respective owner