ICLRStrongName::StrongNameHashSize Method

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

Syntax

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

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

See also