This documentation is archived and is not being maintained.

StrongNameSignatureVerificationEx Function

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

This function has been deprecated in the .NET Framework version 4. Use the ICLRStrongName::StrongNameSignatureVerificationEx method instead.

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


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


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


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

true if the verification was successful; otherwise, false.

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.

Platforms: See .NET Framework System Requirements.

Header: StrongName.h

Library: Included as a resource in mscoree.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0