UtilProcessGetProcessPrivilegeState(Int32, ProcessPrivileges) Method

Gets the state of a privilege from the specified process.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static PrivilegeStates GetProcessPrivilegeState(
	int pid,
	ProcessPrivileges privilege
)

Parameters

pid  Int32
The process identifier (PID).
privilege  ProcessPrivileges
The privileges to check.

Return Value

PrivilegeStates
The privilege state.

See Also