-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathProcessIntegrityLevel.cs
More file actions
30 lines (28 loc) · 987 Bytes
/
ProcessIntegrityLevel.cs
File metadata and controls
30 lines (28 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Diagnostics;
namespace BytecodeApi.IO;
/// <summary>
/// Specifies the mandatory integrity level for a <see cref="Process" />.
/// </summary>
public enum ProcessIntegrityLevel
{
/// <summary>
/// The <see cref="Process" /> is running with untrusted integrity (SECURITY_MANDATORY_UNTRUSTED_RID).
/// </summary>
Untrusted = 0,
/// <summary>
/// The <see cref="Process" /> is running with low integrity (SECURITY_MANDATORY_LOW_RID).
/// </summary>
Low = 0x1000,
/// <summary>
/// The <see cref="Process" /> is running with medium integrity (SECURITY_MANDATORY_MEDIUM_RID or SECURITY_MANDATORY_MEDIUM_PLUS_RID).
/// </summary>
Medium = 0x2000,
/// <summary>
/// The <see cref="Process" /> is running with high integrity (SECURITY_MANDATORY_HIGH_RID).
/// </summary>
High = 0x3000,
/// <summary>
/// The <see cref="Process" /> is running with system integrity (SECURITY_MANDATORY_SYSTEM_RID).
/// </summary>
System = 0x4000
}