[DllImport(@"advapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool CryptGenKey(IntPtr hProv, uint Algid, uint dwFlags, ref IntPtr phKey);
Declare Function CryptGenKey Lib "advapi32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
public const uint CALG_AES = 0x00006611;
public const uint CALG_AES_128 = 0x0000660e;
public const uint CALG_AES_192 = 0x0000660f;
public const uint CALG_AES_256 = 0x00006610;
Please add more constants!
Please add some!