CertAddCTLContextToStore

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CertAddCTLContextToStore(
   IntPtr hCertStore,
   IntPtr pCtlContext,
   uint dwAddDisposition,
   ref IntPtr ppStoreContext
);

Microsoft documentation: Link

Last updated