HTTP Tunnel Authorization Mode:
Authentication is done in the form of a username/password, which is eventually converted into a『Proxy-Authorization』protocol header to be sent with the request.
To facilitate access to some languages, the platform also supports tunneling through the 『Authorization』header.
WebClient client = new WebClient(); WebProxy proxy = new WebProxy("proxy.tomatoip.io:12344");
proxy.Credentials = new NetworkCredential("proxyUser", "password"); client.Proxy = proxy; client.DownloadString("https://api.ip.sb/geoip");