This documentation is archived and is not being maintained.
SecurityManager Class
Visual Studio 2010
Provides the main access point for classes interacting with the security system. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
The SecurityManager type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | CheckExecutionRights | Infrastructure. Obsolete. Gets or sets a value indicating whether code must have Execution in order to execute. |
![]() ![]() | SecurityEnabled | Obsolete. Gets or sets a value indicating whether security is enabled. |
| Name | Description | |
|---|---|---|
![]() ![]() | CurrentThreadRequiresSecurityContextCapture | Determines whether the current thread requires a security context capture if its security state has to be re-created at a later point in time. |
![]() ![]() | GetStandardSandbox | Gets a permission set that is safe to grant to an application that has the provided evidence. |
![]() ![]() | GetZoneAndOrigin | Infrastructure. Gets the granted zone identity and URL identity permission sets for the current assembly. |
![]() ![]() | IsGranted | Obsolete. Determines whether a permission is granted to the caller. |
![]() ![]() | LoadPolicyLevelFromFile | Obsolete. Loads a PolicyLevel from the specified file. |
![]() ![]() | LoadPolicyLevelFromString | Obsolete. Loads a PolicyLevel from the specified string. |
![]() ![]() | PolicyHierarchy | Obsolete. Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy. |
![]() ![]() | ResolvePolicy(Evidence) | Obsolete. Determines what permissions to grant to code based on the specified evidence. |
![]() ![]() | ResolvePolicy(array<Evidence>) | Obsolete. Determines what permissions to grant to code based on the specified evidence. |
![]() ![]() | ResolvePolicy(Evidence, PermissionSet, PermissionSet, PermissionSet, PermissionSet%) | Obsolete. Determines what permissions to grant to code based on the specified evidence and requests. |
![]() ![]() | ResolvePolicyGroups | Obsolete. Gets a collection of code groups matching the specified evidence. |
![]() ![]() | ResolveSystemPolicy | Obsolete. Determines which permissions to grant to code based on the specified evidence, excluding the policy for the AppDomain level. |
![]() ![]() | SavePolicy | Obsolete. Saves the modified security policy state. |
![]() ![]() | SavePolicyLevel | Obsolete. Saves a modified security policy level loaded with LoadPolicyLevelFromFile. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
