joelverhagen / TorSharp

Use Tor for your C# HTTP clients. Use Privoxy or .NET 6+ SOCKS support to proxy HTTP traffic.
MIT License
323 stars 61 forks source link

How to setup and use TorSharp? #102

Closed Chewhern closed 1 year ago

Chewhern commented 1 year ago

Hello author, sorry for asking questions here.

I know this sounds dumb. I would like to ask, if I downloaded the zip file from TOR which contains the tor.exe , how do I let my program to know the exe file path?

Can author shows the code for how to use TorSharp to create a proxy for the client side?

Does such a proxy need to be repeatedly created for each session? Or is there any sample code that I can refer to create once and then delete after sometime and repeat?

Really sorry for asking here.

My targeted framework will be .Net 6+ (Winforms), .Net 6+ Core, ASP.Net Core 6+.