| ||||||||||
TrustSection ClassSystem.Web.Configuration Namespace .NET Framework version 2.0 Configures the code-access security level that is applied to an application. This class cannot be inherited.
RemarksThe TrustSection class provides a way to programmatically access and modify the trust section of a configuration file. 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. ExampleThis section provides two code examples. The first demonstrates how to declaratively specify values for several properties of the TrustSection class. The second demonstrates how to use the TrustSection type. The following configuration file example shows how to declaratively specify values for several properties of the TrustSection class. <system.web> <trust level = "Full" originUrl = ""/> </system.web> See AlsoASP.NET Configuration <trust> Section TrustLevel Class TrustLevelCollection Class |
| |||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme