'DeclarationPublic Shared Function CryptExportKey( _ ByVal hKey As IntPtr, _ ByVal hExpKey As IntPtr, _ ByVal dwBlobType As Integer, _ ByVal dwFlags As Integer, _ ByVal pbData() As Byte, _ ByRef pdwDataLen As Integer _ ) As Boolean
'UsageDim hKey As IntPtr Dim hExpKey As IntPtr Dim dwBlobType As Integer Dim dwFlags As Integer Dim pbData() As Byte Dim pdwDataLen As Integer Dim value As Boolean value = Crypto.NativeMethods.CryptExportKey(hKey, hExpKey, dwBlobType, dwFlags, pbData, pdwDataLen)
public static bool CryptExportKey( IntPtr hKey, IntPtr hExpKey, int dwBlobType, int dwFlags, byte[] pbData, ref int pdwDataLen )
public: static bool CryptExportKey( IntPtr hKey, IntPtr hExpKey, int dwBlobType, int dwFlags, array<byte>^ pbData, int% pdwDataLen )
Parameters
- hKey
- hExpKey
- dwBlobType
- dwFlags
- pbData
The value of this parameter can be
null(Nothingin Visual Basic).- pdwDataLen