System.Web.Configuration.TrustSection Class

Configures the code-access security level that is applied to an application. This class cannot be inherited.

See Also: TrustSection Members

Syntax

public sealed class TrustSection : System.Configuration.ConfigurationSection

Remarks

The System.Web.Configuration.TrustSection class lets you programmatically access and modify the configuration file <trust> section. The <trust> section configures the code-access-security permissions set that is used to run a particular application. This section can be declared at the machine, site, and application levels.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0