public static extern int CryptExportPublicKeyInfoEx( IntPtr hCryptProv, int dwKeySpec, int dwCertEncodingType, [MarshalAs(UnmanagedType.LPStr)] string pszPublicKeyObjId, int dwFlags, IntPtr pvAuxInfo, IntPtr pInfo, ref int pcbInfo);