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


public sealed class TrustSection : System.Configuration.ConfigurationSection


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.


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