HttpWebRequest web = (HttpWebRequest)WebRequest.Create("https://www.google.com/");
IWebProxy proxy = web.Proxy;
if (proxy != null)
{
var url = proxy.GetProxy(web.RequestUri);
if (url != null)
{
Console.WriteLine(url);
}
}
使用c#获取ie代理设置地址
最新推荐文章于 2023-04-03 21:32:24 发布