CryptImportKey (advapi32)
Last changed: -130.214.17.32

.
Summary
TODO - a short description

C# Signature:

[DllImport(@"advapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool CryptImportKey(IntPtr hProv, byte[] pbKeyData, UInt32 dwDataLen, IntPtr hPubKey, UInt32 dwFlags, ref IntPtr hKey);

VB Signature:

Public Declare Function CryptImportKey Lib "advapi32.dll" (ByVal hProv As Long, _

                        pbData As Any, ByVal dwDatalen As Long, _
                        ByVal hPubKey As Long, ByVal dwFlags As Long, _
                        phKey As Long) As Long

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation