Skip to content

Instantly share code, notes, and snippets.

@jtgasper3
jtgasper3 / run.csx
Created September 6, 2023 20:58
Azure Function for MDM Client Cert validation
#r "Newtonsoft.Json"
#r "System.Formats.Asn1"
using System.Formats.Asn1;
using System.Net;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Primitives;
using Newtonsoft.Json;