This is what I currently have
using (WebClient client = new WebClient()) {
WebProxy proxy = new WebProxy();
//proxy.Address = new Uri("http://" + proxyIP.Text + ":" + proxyPort.Text);
//proxy.Credentials = new NetworkCredential(proxyUsername.Text, proxyPassword.Text);
proxy.Address = new Uri("http://" + "96.44.147.138" + ":" + "6060");
proxy.Credentials = new NetworkCredential(proxyUsername.Text, proxyPassword.Text);
proxy.UseDefaultCredentials = false;
proxy.BypassProxyOnLocal = false;
client.Proxy = proxy;
Console.WriteLine(client.DownloadString("http://bot.whatismyipaddress.com/"));
}
The issue is that, I still get an error saying
Additional information: The remote server returned an error: (407) Proxy Authentication Required.
Even though the information is correct.
Any ideas?
My question is not solved through the other thread because this question involves using
and the I'm doing it in winform.