[DllImport("Crypt32.dll", SetLastError = true)] public static extern bool CryptExportKey( IntPtr hKey, IntPtr hExpKey, uint dwBlobType, uint dwFlags, byte[] pbData, ref uint pcbData );
Microsoft documentation: Link
Last updated 1 year ago