public static extern NTStatus BCryptExportKey( SafeKeyHandle hKey, SafeKeyHandle hExportKey, [MarshalAs(UnmanagedType.LPWStr)] string pszBlobType, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 5)] byte[] pbOutput, int cbOutput, out int pcbResult, BCryptExportKeyFlags dwFlags = BCryptExportKeyFlags.None);
public static extern NTSTATUS BCryptExportKey( SafeKeyHandle hKey, SafeKeyHandle hExportKey, [MarshalAs(UnmanagedType.LPWStr)] string pszBlobType, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 5)] byte[] pbOutput, int cbOutput, out int pcbResult, BCryptExportKeyFlags dwFlags = BCryptExportKeyFlags.None);