Export (0) Print
Expand All

ICLRStrongName::StrongNameSignatureVerificationEx Method

Gets a value that indicates whether the assembly manifest at the supplied path contains a strong name signature.

HRESULT StrongNameSignatureVerificationEx (
    [in]  LPCWSTR   wszFilePath,
    [in]  BOOLEAN   fForceVerification,
    [out] BOOLEAN   *pfWasVerified
);

wszFilePath

[in] The path to the portable executable (.exe or .dll) file for the assembly to be verified.

fForceVerification

[in] true to perform verification, even if it is necessary to override registry settings; otherwise, false.

pfWasVerified

[out] true if the strong name signature was verified; otherwise, false. pfWasVerified is also set to false if the verification was successful due to registry settings.

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

The ICLRStrongName::StrongNameSignatureVerificationEx method provides a capability similar to the ICLRStrongName::StrongNameSignatureVerification method. However, the second input parameter and the output parameter for ICLRStrongName::StrongNameSignatureVerificationEx are of type BOOLEAN instead of DWORD.

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4

Community Additions

ADD
Show:
© 2014 Microsoft