Skip to content

Instantly share code, notes, and snippets.

View george-chakhidze's full-sized avatar

George Chakhidze george-chakhidze

  • Tbilisi, Georgia
  • 02:01 (UTC +04:00)
View GitHub Profile
george-chakhidze / InspectTLSServerCertificate.cs
Created December 6, 2018 10:34
Inspect TLS server certificate
using System;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using static System.Console;