GetAssemblyRefHash Method

Retrieves a hash blob for a given assembly.

Syntax

HRESULT GetAssemblyRefHash(  
    mdToken FileToken,  
    const void** ppvHash,  
    DWORD* pcbHash  
) PURE;  

Parameters

FileToken
ID of assembly to which the hash will refer.

ppvHash
Receives the resulting hash blob.

pcbHash
Receives size, in bytes, of hash blob.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h

See also