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