Accessing Tor .onion URLs via HttpClient with .NET6
using System;
using System.Net;
using System.Net.Http;
var http = new HttpClient(new HttpClientHandler
{
Proxy = new WebProxy("socks5://127.0.0.1:1338")
});
Console.WriteLine(await http.GetStringAsync("https://bbcnewsv2vjtpsuy.onion"));Platform
Main
Last updated