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: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0