MSDN样本
HttpWebRequest myWebRequest=(HttpWebRequest)WebRequest.Create("http://www.microsoft.com");
WebProxy myProxy=new WebProxy();
// Obtain the 'Proxy' of the Default browser.
myProxy=(WebProxy)myWebRequest.Proxy;
Run Code Online (Sandbox Code Playgroud)
不行.我得到的错误是:无法将"WebProxyWrapper"类型的对象强制转换为"System.Net.WebProxy"类型
我有什么选择?