.NET Framework Class Library
Zone Members

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

The Zone type exposes the following members.

Constructors

  NameDescription
Public methodZoneInitializes a new instance of the Zone class with the zone from which a code assembly originates.
Top
Methods

  NameDescription
Public methodCopyCreates an equivalent copy of the evidence object.
Public methodStatic memberCreateFromUrlCreates a new zone with the specified URL.
Public methodCreateIdentityPermissionCreates an identity permission that corresponds to the current instance of the Zone evidence class.
Public methodEqualsCompares the current Zone evidence object to the specified object for equivalence. (Overrides Object..::.Equals(Object).)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeGets the hash code of the current zone. (Overrides Object..::.GetHashCode()()().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of the current Zone. (Overrides Object..::.ToString()()().)
Top
Properties

  NameDescription
Public propertySecurityZoneGets the zone from which the code assembly originates.
Top
See Also

Reference

Tags :


Page view tracker