scripts
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Security.Permissions
|
||||
{
|
||||
/// <summary>Specifies categories of functionality potentially harmful to the host if invoked by a method or class.</summary>
|
||||
// Token: 0x0200054B RID: 1355
|
||||
[ComVisible(true)]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
public enum HostProtectionResource
|
||||
{
|
||||
/// <summary>Exposes no host resources.</summary>
|
||||
// Token: 0x0400143E RID: 5182
|
||||
None = 0,
|
||||
/// <summary>Exposes synchronization.</summary>
|
||||
// Token: 0x0400143F RID: 5183
|
||||
Synchronization = 1,
|
||||
/// <summary>Exposes state that might be shared between threads.</summary>
|
||||
// Token: 0x04001440 RID: 5184
|
||||
SharedState = 2,
|
||||
/// <summary>Might create or destroy other processes.</summary>
|
||||
// Token: 0x04001441 RID: 5185
|
||||
ExternalProcessMgmt = 4,
|
||||
/// <summary>Might exit the current process, terminating the server.</summary>
|
||||
// Token: 0x04001442 RID: 5186
|
||||
SelfAffectingProcessMgmt = 8,
|
||||
/// <summary>Creates or manipulates threads other than its own, which might be harmful to the host.</summary>
|
||||
// Token: 0x04001443 RID: 5187
|
||||
ExternalThreading = 16,
|
||||
/// <summary>Manipulates threads in a way that only affects user code.</summary>
|
||||
// Token: 0x04001444 RID: 5188
|
||||
SelfAffectingThreading = 32,
|
||||
/// <summary>Exposes the security infrastructure.</summary>
|
||||
// Token: 0x04001445 RID: 5189
|
||||
SecurityInfrastructure = 64,
|
||||
/// <summary>Exposes the user interface.</summary>
|
||||
// Token: 0x04001446 RID: 5190
|
||||
UI = 128,
|
||||
/// <summary>Might cause a resource leak on termination, if not protected by a safe handle or some other means of ensuring the release of resources.</summary>
|
||||
// Token: 0x04001447 RID: 5191
|
||||
MayLeakOnAbort = 256,
|
||||
/// <summary>Exposes all host resources.</summary>
|
||||
// Token: 0x04001448 RID: 5192
|
||||
All = 511
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user