Skip to content

Instantly share code, notes, and snippets.

@AnthonyGiretti
Created January 7, 2026 20:18
Show Gist options
  • Select an option

  • Save AnthonyGiretti/159469b120f3cb6a7ba6cb68ec7dccab to your computer and use it in GitHub Desktop.

Select an option

Save AnthonyGiretti/159469b120f3cb6a7ba6cb68ec7dccab to your computer and use it in GitHub Desktop.
.NET 10 , automatic support of TLS 1.3 on macOS
using System.Net.Http;
using var client = new HttpClient();
string html = await client.GetStringAsync("https://example.com"); // Uses TLS 1.3 on macOS automatically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment