Accessing Tor .onion URLs via HttpClient with .NET6
In .NET6, there is built-in support for SOCKS4/5 proxies! This means you can install the Tor service and without anything else, access any .onion
URL with plain HttpClient
:
NOTE: I could not get this to work with gRPC, which requires HTTP/2.
You can get the daily .NET6 SDK installer permalinks from:
Platform | Main |
---|---|
Windows (x64) | |
Windows (x86) | |
Windows (arm64) | |
macOS (x64) | |
macOS (arm64) |
Last updated