CertControlStore

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CertControlStore(
   IntPtr hCertStore,
   uint dwFlags,
   uint dwCtrlType,
   IntPtr pvCtrlPara
);

Microsoft documentation: Link

Last updated