110,536
社区成员
发帖
与我相关
我的任务
分享
System.Net.IWebProxy iw = System.Net.WebRequest.DefaultWebProxy;
string s = "http://www.baidu.com/";
Uri uri = iw.GetProxy(new Uri(s));
if (uri.ToString() == s)
{
MessageBox.Show("IE没有设置代理");
}
else
{
MessageBox.Show("IE代理地址:"+uri.ToString());
}