[DllImport("Crypt32.dll", SetLastError = true)] public static extern bool CertAddCertificateContextToStore( IntPtr hCertStore, IntPtr pCertContext, uint dwAddDisposition, ref IntPtr ppStoreContext );
Microsoft documentation: Link
Last updated 1 year ago