Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StrongNameHashSize Function

StrongNameHashSize Function

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

This function has been deprecated. Use the ICLRStrongName::StrongNameHashSize method instead.

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

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft