using System;
namespace System.Security
{
/// Provides a base class for requesting the security status of an action from the object.
// Token: 0x020005D6 RID: 1494
public abstract class SecurityState
{
/// When overridden in a derived class, ensures that the state that is represented by is available on the host.
// Token: 0x060036A6 RID: 13990
public abstract void EnsureState();
/// Gets a value that indicates whether the state for this implementation of the class is available on the current host.
/// true if the state is available; otherwise, false.
// Token: 0x060036A7 RID: 13991 RVA: 0x000BB870 File Offset: 0x000B9A70
public bool IsStateAvailable()
{
AppDomainManager domainManager = AppDomain.CurrentDomain.DomainManager;
return domainManager != null && domainManager.CheckSecuritySettings(this);
}
}
}