Partager via


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.

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

Parameters

  • 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.

Return Value

true on successful completion; otherwise, false.

Remarks

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

Requirements

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

See Also

Concepts

Strong Naming Global Static Functions