Share 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

ALink API (Unmanaged API Reference)

Other Resources

IALink Interface

IALink2 Interface