Gets a value that indicates whether the assembly manifest at the supplied path contains a strong name signature, which is verified according to the specified flags.
HRESULT StrongNameSignatureVerification (
[in] LPCWSTR wszFilePath,
[in] DWORD dwInFlags,
[out] DWORD *pdwOutFlags
[in] The path to the portable executable (.dll or .exe) file for the assembly to verify.
[in] Flags to modify the verification behavior. The following values are supported:
SN_INFLAG_FORCE_VER (0x00000001) - Forces verification even if it is necessary to override registry settings.
SN_INFLAG_INSTALL (0x00000002) - Specifies that this is the first time the manifest is verified.
SN_INFLAG_ADMIN_ACCESS (0x00000004) - Specifies that the cache will allow access only to users who have administrative privileges.
SN_INFLAG_USER_ACCESS (0x00000008) - Specifies that the assembly will be accessible only to the current user.
SN_INFLAG_ALL_ACCESS (0x00000010) - Specifies that the cache will provide no guarantees of access restriction.
SN_INFLAG_RUNTIME (0x80000000) - Reserved for internal debugging.
[out] Flags indicating whether the strong name signature was verified. The following value is supported:
S_OK if the method completed successfully; otherwise, an HRESULT value that indicates failure (see Common HRESULT Values for a list).
(1500 characters remaining)
Thank you for your feedback