System.Security.HostSecurityManager.DomainPolicy Property

When overridden in a derived class, gets the security policy for the current application domain.

Syntax

public virtual System.Security.Policy.PolicyLevel DomainPolicy { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property can be overridden in a derived class. The base implementation always returns null.

This property is called at AppDomain creation time. It allows a host to supply a policy for the current AppDomain. A policy level consists of the following:

  • A set of code groups organized into a single rooted tree.

  • A set of named permission sets that are referenced by the code groups to specify permissions to be granted to code belonging to the code group.

  • A list of fully trusted assemblies.

Note:

See the Notes to Inheritors for the System.Security.HostSecurityManager class for critical implementation information.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0