System.Security.Policy.GacInstalled Class

Confirms that a code assembly originates in the global assembly cache (GAC) as evidence for policy evaluation. This class cannot be inherited.

See Also: GacInstalled Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class GacInstalled : EvidenceBase, IBuiltInEvidence, IIdentityPermissionFactory

Remarks

The presence of System.Security.Policy.GacInstalled evidence produces a System.Security.Permissions.GacIdentityPermission in the grant set. If there is a System.Security.CodeAccessPermission.Demand for System.Security.Permissions.GacIdentityPermission, the System.Security.Permissions.GacIdentityPermission that corresponds to the System.Security.Policy.GacInstalled evidence is compared with the demanded permission.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0