mscorlib(4.0.0.0) API with additions
SecurityState.cs
2 
3 namespace System.Security
4 {
6  [SecurityCritical]
7  [PermissionSet(SecurityAction.InheritanceDemand, Unrestricted = true)]
8  public abstract class SecurityState
9  {
13  [SecurityCritical]
14  public bool IsStateAvailable()
15  {
16  return AppDomainManager.CurrentAppDomainManager?.CheckSecuritySettings(this) ?? false;
17  }
18 
20  public abstract void EnsureState();
21  }
22 }
abstract void EnsureState()
When overridden in a derived class, ensures that the state that is represented by T:System....
virtual bool CheckSecuritySettings(SecurityState state)
Indicates whether the specified operation is allowed in the application domain.
Definition: __Canon.cs:3
SecurityAction
Specifies the security actions that can be performed using declarative security.
Provides a managed equivalent of an unmanaged host.
bool IsStateAvailable()
Gets a value that indicates whether the state for this implementation of the T:System....
Provides a base class for requesting the security status of an action from the T:System....
Definition: SecurityState.cs:8