Accessing Tor .onion URLs via HttpClient with .NET6
Last updated
Last updated
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:
Windows (x64)
Windows (x86)
Windows (arm64)
macOS (x64)
macOS (arm64)