@msdn=http://search.microsoft.com/search/results.aspx?qu=CryptExportKey @pinvoke=http://pinvoke.net/CryptExportKey.htm Summary: The CryptExportKey function exports a cryptographic key or a key pair from a cryptographic service provider (CSP) in a secure manner. !!!!C# Signature: [DllImport(@"advapi32.dll", CharSet = CharSet.Auto, SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool CryptExportKey(IntPtr hKey, IntPtr hExpKey, uint dwBlobType, uint dwFlags, [In, Out] byte[] pbData, ref uint dwDataLen); !!!!VB Signature: Declare Function CryptExportKey Lib "advapi32.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: AsymmetricAlgorithm.ToXmlString, SymmetricAlgorithm.Key Documentation: CryptExportKey@msdn on MSDN
Edit advapi32.CryptExp...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.