mscorlib(4.0.0.0) API with additions
SecurityState.cs
1
using
System
.
Security
.
Permissions
;
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
}
System.Security
Definition:
AllowPartiallyTrustedCallersAttribute.cs:3
System.Security.SecurityState.EnsureState
abstract void EnsureState()
When overridden in a derived class, ensures that the state that is represented by T:System....
System.AppDomainManager.CheckSecuritySettings
virtual bool CheckSecuritySettings(SecurityState state)
Indicates whether the specified operation is allowed in the application domain.
Definition:
AppDomainManager.cs:165
System
Definition:
__Canon.cs:3
System.Security.Permissions.SecurityAction
SecurityAction
Specifies the security actions that can be performed using declarative security.
Definition:
SecurityAction.cs:8
System.AppDomainManager
Provides a managed equivalent of an unmanaged host.
Definition:
AppDomainManager.cs:17
System.Security.SecurityState.IsStateAvailable
bool IsStateAvailable()
Gets a value that indicates whether the state for this implementation of the T:System....
Definition:
SecurityState.cs:14
System.Security.Permissions
Definition:
BuiltInPermissionFlag.cs:1
System.Security.SecurityState
Provides a base class for requesting the security status of an action from the T:System....
Definition:
SecurityState.cs:8
All cs
System.Security
SecurityState.cs
Generated by
1.8.15