CertFreeCertificateChain

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CertFreeCertificateChain(
   IntPtr pChainContext
);

Microsoft documentation: Link

Last updated