This documentation is archived and is not being maintained.

Zone Class

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

For a list of all members of this type, see Zone Members.


[Visual Basic]
NotInheritable Public Class Zone
   Implements IIdentityPermissionFactory
public sealed class Zone : IIdentityPermissionFactory
public __gc __sealed class Zone : public
class Zone implements IIdentityPermissionFactory

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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

Zones are defined by the SecurityZone enumeration.


Namespace: System.Security.Policy

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

Zone Members | System.Security.Policy Namespace