SecurityManager Class
Provides the main access point for classes interacting with the security system. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CheckExecutionRights | Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. 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(Evidence) | Gets a permission set that is safe to grant to an application that has the provided evidence. |
![]() ![]() | GetZoneAndOrigin(ArrayList, ArrayList) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the granted zone identity and URL identity permission sets for the current assembly. |
![]() ![]() | IsGranted(IPermission) | Obsolete. Determines whether a permission is granted to the caller. |
![]() ![]() | LoadPolicyLevelFromFile(String, PolicyLevelType) | Obsolete. Loads a PolicyLevel from the specified file. |
![]() ![]() | LoadPolicyLevelFromString(String, PolicyLevelType) | 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(Evidence, PermissionSet, PermissionSet, PermissionSet, PermissionSet) | Obsolete. Determines what permissions to grant to code based on the specified evidence and requests. |
![]() ![]() | ResolvePolicy(Evidence[]) | Obsolete. Determines what permissions to grant to code based on the specified evidence. |
![]() ![]() | ResolvePolicyGroups(Evidence) | Obsolete. Gets a collection of code groups matching the specified evidence. |
![]() ![]() | ResolveSystemPolicy(Evidence) | 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(PolicyLevel) | Obsolete. Saves a modified security policy level loaded with LoadPolicyLevelFromFile. |
Security provides methods to access and manipulate the security policy configuration. You cannot create instances of SecurityManager.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


