Allows the control and customization of security behavior for application domains.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|DetermineApplicationTrust||Determines whether an application should be executed.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GenerateAppDomainEvidence||Requests a specific evidence type for the application domain.|
|GenerateAssemblyEvidence||Requests a specific evidence type for the assembly.|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetHostSuppliedAppDomainEvidenceTypes||Determines which evidence types the host can supply for the application domain, if requested.|
|GetHostSuppliedAssemblyEvidenceTypes||Determines which evidence types the host can supply for the assembly, if requested.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ProvideAppDomainEvidence||Provides the application domain evidence for an assembly being loaded.|
|ProvideAssemblyEvidence||Provides the assembly evidence for an assembly being loaded.|
|ResolvePolicy||Determines what permissions to grant to code based on the specified evidence.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
When you create a new AppDomain, the common language runtime queries the AppDomainManager for the presence of a , which participates in making security decisions for the AppDomain. Host providers should implement a host security manager that inherits from the class.Notes to Inheritors
Some members of a are called whenever an assembly is loaded, either implicitly or explicitly. The ProvideAssemblyEvidence and ProvideAppDomainEvidence methods must not load any assemblies, because doing so will result in the members of the being recursively called. To avoid circular references, you should create new instances of classes that can cause assemblies to be loaded, either implicitly or explicitly, in the constructor of a class that derives from .
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.