StrongNameSignatureSize Function

Returns the size of the strong name signature. StrongNameSignatureSize is typically used by compilers to determine how much space to reserve in the file when creating a delay-signed assembly.

This function has been deprecated in the .NET Framework version 4. Use the ICLRStrongName::StrongNameSignatureSize method instead.

BOOLEAN StrongNameSignatureSize ( 
    [in]  BYTE   *pbPublicKeyBlob,
    [in]  ULONG  cbPublicKeyBlob, 
    [in]  DWORD  *pcbSize


[in] A structure of type PublicKeyBlob that contains the public portion of the key pair used to generate the strong name signature.


[in] The size, in bytes, of pbPublicKeyBlob.


[in] The number of bytes required to store the strong name signature.

true on successful completion; otherwise, false.

If the StrongNameSignatureSize 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, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft