Created
January 29, 2026 11:05
-
-
Save almog-barel/daa2d3a88bcc500a4d465783663bf134 to your computer and use it in GitHub Desktop.
TLS checker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Text.RegularExpressions; | |
| var client = new HttpClient(); | |
| var response = await client.GetStringAsync("https://www.cloudflare.com/cdn-cgi/trace"); | |
| var tls = Regex.Match(response, @"(?<=tls=).*").Value; | |
| Console.WriteLine(tls); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment