Provides the main access point for classes interacting with the security system. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|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 Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.