ManifestSignatureInformation.VerifySignature Method (ActivationContext, ManifestKinds)
Gathers and verifies information about the signatures of manifests that belong to a specified activation context and manifest type.
Namespace: System.Security.Cryptography
Assembly: System.Core (in System.Core.dll)
public static ManifestSignatureInformationCollection VerifySignature( ActivationContext application, ManifestKinds manifests )
Parameters
- application
- Type: System.ActivationContext
The activation context of the manifest. Activation contexts belong to an application and contain multiple manifests.
- manifests
- Type: System.Security.ManifestKinds
The type of manifest. This parameter specifies which manifests in the activation context you want to verify.
Return Value
Type: System.Security.Cryptography.ManifestSignatureInformationCollectionA collection that contains a ManifestSignatureInformation object for each manifest that is verified.
| Exception | Condition |
|---|---|
| ArgumentNullException | The application parameter is null. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.