I use http / https proxy like this:
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url); WebProxy proxy = new Webproxy(host,port); req.Proxy = proxy; HttpWebRespone res = req.GetWebResponse();
But with socks5 / 4, you can’t get Respone. Constantly error ("Tor is not Http proxy"). Actually the question: "which class supports working with socks5?"
Socks I take from TorBrowser.