Freigeben über


INativeImageInstallInfo::GetILStrongSignature Method

Gets the strong-named signature of the Microsoft intermediate language (MSIL) assembly.

HRESULT GetILStrongSignature (
    BYTE           *pbSig,
    DWORD          *pcbSig
);

Parameters

Parameter Description

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

See Also

Reference

INativeImageInstallInfo Interface