System.Security.SecurityManager: Method Members

The methods of System.Security.SecurityManager are listed below. For a list of all members, see the SecurityManager Members list.

See Also: Inherited members from System.Object

Public Methods

static
CurrentThreadRequiresSecurityContextCapture() : bool

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.

static
GetStandardSandbox(System.Security.Policy.Evidence) : PermissionSet

Gets a permission set that is safe to grant to an application that has the provided evidence.

static
GetZoneAndOrigin(out ArrayList, out ArrayList)
Documentation for this section has not yet been entered.
static
IsGranted(IPermission) : bool

Determines whether a permission is granted to the caller.

static
LoadPolicyLevelFromFile(string, PolicyLevelType) : System.Security.Policy.PolicyLevel

Loads a System.Security.Policy.PolicyLevel from the specified file.

static
LoadPolicyLevelFromString(string, PolicyLevelType) : System.Security.Policy.PolicyLevel

Loads a System.Security.Policy.PolicyLevel from the specified string.

static
PolicyHierarchy() : IEnumerator

Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.

static
ResolvePolicy(System.Security.Policy.Evidence) : PermissionSet

Determines what permissions to grant to code based on the specified evidence.

static
ResolvePolicy(System.Security.Policy.Evidence[]) : PermissionSet

Determines what permissions to grant to code based on the specified evidence.

static
ResolvePolicy(System.Security.Policy.Evidence, PermissionSet, PermissionSet, PermissionSet, out PermissionSet) : PermissionSet
Documentation for this section has not yet been entered.
static
ResolvePolicyGroups(System.Security.Policy.Evidence) : IEnumerator

Gets a collection of code groups matching the specified evidence.

static
ResolveSystemPolicy(System.Security.Policy.Evidence) : PermissionSet

Determines which permissions to grant to code based on the specified evidence, excluding the policy for the AppDomain level.

static
SavePolicy()

Saves the modified security policy state.

static
SavePolicyLevel(System.Security.Policy.PolicyLevel)

Saves a modified security policy level loaded with SecurityManager.LoadPolicyLevelFromFile(string, PolicyLevelType).