Share via


StrongNameSignatureVerificationEx Function

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

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

Parameters

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

Return Value

true if the verification was successful; otherwise, false.

Remarks

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

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

StrongNameSignatureVerification Function

Strong Naming Global Static Functions