System.Security (mscorlib.dll) | enum |
public enum SecurityZone { MyComputer = 0,Intranet = 1,Trusted = 2,Internet = 3,Untrusted = 4,NoZone = -1 } This enumeration defines constants that represent the different Internet Explorer security zones. System.Security.Policy.Zone evidence uses these values to identify the source zone of code. The values of SecurityZone are used when configuring a code group's membership condition as well as when using imperative and declarative security statements based on System.Security.Permissions.ZoneIdentityPermission objects. Hierarchy System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SecurityZone Returned By System.Security.Permissions.ZoneIdentityPermission.SecurityZone, System.Security.Permissions.ZoneIdentityPermissionAttribute.Zone, System.Security.Policy.Zone.SecurityZone, System.Security.Policy.ZoneMembershipCondition.SecurityZone Passed To System.Security.Permissions.ZoneIdentityPermission.{SecurityZone, ZoneIdentityPermission( )}, System.Security.Permissions.ZoneIdentityPermissionAttribute.Zone, System.Security.Policy.Zone.Zone( ), System.Security.Policy.ZoneMembershipCondition.{SecurityZone, ZoneMembershipCondition( )} |