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] <Serializable> NotInheritable Public Class Zone Implements IIdentityPermissionFactory [C#] [Serializable] public sealed class Zone : IIdentityPermissionFactory [C++] [Serializable] public __gc __sealed class Zone : public IIdentityPermissionFactory [JScript] public Serializable class Zone implements IIdentityPermissionFactory
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.
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)