ICLRStrongName::StrongNameSignatureSize Method

.NET Framework 4.6 and 4.5

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

HRESULT StrongNameSignatureSize ( 
    [in]  BYTE   *pbPublicKeyBlob,
    [in]  ULONG  cbPublicKeyBlob, 
    [in]  DWORD  *pcbSize
); 

pbPublicKeyBlob

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

cbPublicKeyBlob

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

pcbSize

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

S_OK if the method completed successfully; otherwise, an HRESULT value that indicates failure (see Common HRESULT Values for a list).

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4.6 RC, 4.5.2, 4.5.1, 4.5, 4

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft