CertOpenStore

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern IntPtr CertOpenStore(
   uint lpszStoreProvider,
   uint dwEncodingType,
   IntPtr hCryptProv,
   uint dwFlags,
   IntPtr pvPara
);

Microsoft documentation: Link

Last updated