CryptSetAsyncParam

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptSetAsyncParam(
   IntPtr hAsyncCryptProv,
   uint dwAsyncParam,
   IntPtr pbData,
   uint dwFlags
);

Microsoft documentation: Link

Last updated