Compartilhar via


GetAssemblyRefHash Method

Retrieves a hash blob for a given assembly.

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

Concepts

IALink Interface

IALink2 Interface

ALink API (Unmanaged API Reference)