System.Security.Policy.Zone Class

Provides the security zone of a code assembly as evidence for policy evaluation. This class cannot be inherited.

See Also: Zone Members


public sealed class Zone : EvidenceBase, IBuiltInEvidence, IIdentityPermissionFactory


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

Zones are defined by the System.Security.SecurityZone enumeration.


Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,