UtilProcessGetCurrentProcessPrivilegeState(String, ProcessPrivileges) Method

Gets the state of a privilege from the current 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 GetCurrentProcessPrivilegeState(
	string computer,
	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.

privilege  ProcessPrivileges
The privileges to check.

Return Value

PrivilegeStates
The privilege state.

See Also