これは私が現在持っているコードです
using (WebClient client = new WebClient()) {
WebProxy proxy = new WebProxy();
proxy.Address = new Uri(96.44.147.138:6060);
proxy.Credentials = new NetworkCredential(proxyUsername.Text, proxyPassword.Text);
proxy.UseDefaultCredentials = false;
proxy.BypassProxyOnLocal = false;
Console.WriteLine(client.DownloadString("http://bot.whatismyipaddress.com/"));
}
プロキシには資格情報が必要です。
オンラインで次のようなエラーが表示されproxy.Address = new Uri(96.44.147.138:6060);
ます
「URI スキームが無効です。」
どのような価値が期待されているのかわからない