using Tor as Proxy

前端 未结 5 1993
再見小時候
再見小時候 2020-11-28 04:31

I\'m trying to use Tor-Server as a proxy in HttpWebRequest, my code looks like this:

HttpWebRequest request;
HttpWebResponse response;

request          


        
5条回答
  •  旧时难觅i
    2020-11-28 05:23

    Tor is not an HTTP proxy. It's a SOCKS proxy. You can use an HTTP proxy that supports forwarding on SOCKS (like Privoxy) and connect to that via code instead.

提交回复
热议问题