Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 1.96 KB

iclrstrongname-gethashfromblob-method.md

File metadata and controls

73 lines (54 loc) · 1.96 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICLRStrongName::GetHashFromBlob Method
ICLRStrongName::GetHashFromBlob Method
03/30/2017
ICLRStrongName.GetHashFromBlob
mscoree.dll
COM
ICLRStrongName::GetHashFromBlob
ICLRStrongName::GetHashFromBlob method [.NET Framework hosting]
GetHashFromBlob method, ICLRStrongName interface [.NET Framework hosting]
f91d0f89-f356-49ac-aafb-50fad963c13d
apiref

ICLRStrongName::GetHashFromBlob Method

Gets a hash of the assembly at the specified memory address, using the specified hash algorithm.

Syntax

HRESULT GetHashFromBlob (  
    [in]  BYTE    *pbBlob,  
    [in]  DWORD   cchBlob,  
    [in, out] unsigned int   *piHashAlg,  
    [out] BYTE    *pbHash,  
    [in]  DWORD   cchHash,  
    [out] DWORD   *pchHash  
);  

Parameters

pbBlob
[in] A pointer to the address of the memory block to be hashed.

cchBlob
[in] The length, in bytes, of the memory block.

piHashAlg
[in, out] A constant that specifies the hash algorithm. Use zero for the default algorithm.

pbHash
[out] The returned hash buffer.

cchHash
[in] The requested maximum size of pbHash.

pchHash
[out] The size, in bytes, of the returned pbHash.

Return Value

S_OK if the method completed successfully; otherwise, an HRESULT value that indicates failure (see Common HRESULT Values for a list).

Requirements

Platforms: See System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: [!INCLUDEnet_current_v40plus]

See also