public static extern int CryptHashPublicKeyInfo( IntPtr hCryptProv, int Algid, int dwFlags, int dwCertEncodingType, IntPtr pInfo, IntPtr pbComputedHash, ref int pcbComputedHash);