This documentation is archived and is not being maintained.

StrongNameHashSize Function

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

BOOLEAN StrongNameHashSize (
        [in]  ULONG   ulHashAlg,
        [out] DWORD   *pcbSize


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


[out] The returned buffer size, in bytes.

true on successful completion; otherwise, false.

If the StrongNameHashSize function does not complete successfully, call the StrongNameErrorInfo function to retrieve the last generated error.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0