ICLRStrongName::StrongNameHashSize Method

Gets the buffer size required for a hash, using the specified hash algorithm.

HRESULT StrongNameHashSize (
    [in]  ULONG   ulHashAlg,
    [out] DWORD   *pcbSize
);

Parameters

  • ulHashAlg
    [in] The hash algorithm used to compute the buffer size.

  • pcbSize
    [out] The returned buffer size, in bytes.

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 .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4

See Also

Reference

ICLRStrongName Interface