INativeImageInstallInfo::GetILStrongSignature Method
Gets the strong-named signature of the Microsoft intermediate language (MSIL) assembly.
HRESULT GetILStrongSignature (
[in, out] BYTE *pbSig,
[in, out] DWORD *pcbSig
);
Parameters
pbSig
[in, out] A buffer to hold the signature data.pcbSig
[in, out] On input, the size in bytes of pbSig; on output, the size in bytes of the signature.
Return Value
HRESULT |
Description |
---|---|
S_OK |
The INativeImageInstallInfo::GetILStrongSignature method returned successfully. |
ERROR_INSUFFICIENT_BUFFER |
The pbSig buffer is not large enough to store the signature. |
CORSEC_E_MISSING_STRONGNAME |
The MSIL assembly is not strong-named. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Version: 2.0