Retrieves the trust level of the environment application is running under.
Namespace: MonoSoftware.Web.SecurityAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static AspNetHostingPermissionLevel GetCurrentTrustLevel() |
Visual Basic |
---|
Public Shared Function GetCurrentTrustLevel As AspNetHostingPermissionLevel |
Visual C++ |
---|
public:
static AspNetHostingPermissionLevel GetCurrentTrustLevel() |
F# |
---|
static member GetCurrentTrustLevel : unit -> AspNetHostingPermissionLevel
|
Return Value
Type:
AspNetHostingPermissionLevelHosting permission level (trust level).
See Also