Почему происходит ошибка?
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create("http://www.ur.ru");
WebProxy myProxy = new WebProxy();
myProxy = (WebProxy)myHttpWebRequest.Proxy;
"Unable to cast object of type 'WebProxyWrapper' to type 'System.Net.WebProxy'."