I'm trying to use a proxy to access a webpage but I am getting:
URI could not be determined
Here is my code:
WebProxy proxy = new WebProxy();
proxy.Address = new Uri("myproxyaddress");
proxy.UseDefaultCredentials = true;
proxy.BypassProxyOnLocal = false;
WebClient client = new WebClient();
client.Proxy = proxy;
string doc = client.DownloadString("http://www.google.com/");