Export (0) Print
Expand All

SecurityManager Methods

The SecurityManager type exposes the following members.

  Name Description
Public method Static member 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.
Public method Static member GetStandardSandbox Gets a permission set that is safe to grant to an application that has the provided evidence.
Public method Static member GetZoneAndOrigin Infrastructure. Gets the granted zone identity and URL identity permission sets for the current assembly.
Public method Static member IsGranted Obsolete. Determines whether a permission is granted to the caller.
Public method Static member LoadPolicyLevelFromFile Obsolete. Loads a PolicyLevel from the specified file.
Public method Static member LoadPolicyLevelFromString Obsolete. Loads a PolicyLevel from the specified string.
Public method Static member PolicyHierarchy Obsolete. Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.
Public method Static member ResolvePolicy(Evidence) Obsolete. Determines what permissions to grant to code based on the specified evidence.
Public method Static member ResolvePolicy(Evidence[]) Obsolete. Determines what permissions to grant to code based on the specified evidence.
Public method Static member ResolvePolicy(Evidence, PermissionSet, PermissionSet, PermissionSet, PermissionSet) Obsolete. Determines what permissions to grant to code based on the specified evidence and requests.
Public method Static member ResolvePolicyGroups Obsolete. Gets a collection of code groups matching the specified evidence.
Public method Static member ResolveSystemPolicy Obsolete. Determines which permissions to grant to code based on the specified evidence, excluding the policy for the AppDomain level.
Public method Static member SavePolicy Obsolete. Saves the modified security policy state.
Public method Static member SavePolicyLevel Obsolete. Saves a modified security policy level loaded with LoadPolicyLevelFromFile.
Top
Show:
© 2014 Microsoft