UtilProcessGetProcessPrivilegeState(String, Process, ProcessPrivileges) Method

Gets the state of a privilege from the specified process on the target computer.

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(
	string computer,
	Process pr,
	ProcessPrivileges privilege
)

Parameters

computer  String
The computer on which to retrieve the privileges of the process.

If this value is empty, it checks the privileges for the current computer.

pr  Process
The process.
privilege  ProcessPrivileges
The privileges to check.

Return Value

PrivilegeStates
The privilege state.

See Also