HostProtectionResource
Specifies categories of functionality potentially harmful to the host if invoked by a method or class.
using System.Runtime.CompilerServices;
namespace System.Security.Permissions
{
[Flags]
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public enum HostProtectionResource
{
All = 511,
ExternalProcessMgmt = 4,
ExternalThreading = 16,
MayLeakOnAbort = 256,
None = 0,
SecurityInfrastructure = 64,
SelfAffectingProcessMgmt = 8,
SelfAffectingThreading = 32,
SharedState = 2,
Synchronization = 1,
UI = 128
}
}