CryptInstallDefaultContext

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptInstallDefaultContext(
   IntPtr hCryptProv,
   uint dwDefaultType,
   IntPtr pvDefaultPara,
   uint dwFlags,
   IntPtr pvReserved,
   ref IntPtr phDefaultContext
);

Microsoft documentation: Link

Last updated