This is the code I have right now
using (WebClient client = new WebClient())
{
Console.WriteLine(client.DownloadString("http://bot.whatismyipaddress.com/"));
}
Now, I would like to put in 2 options for a proxy.
- An option to either a standard IP:Proxy
- An option with authentication.
I just can't seem to figure out how to connect it with the above code