Click or drag to resize

RemoteHookingGetProcessIdentity Method

Returns the WindowsIdentity of the user the target process belongs to. You need PROCESS_QUERY_INFORMATION access to the target.

Namespace:  EasyHook
Assembly:  EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
Syntax
public static WindowsIdentity GetProcessIdentity(
	int InTargetPID
)

Parameters

InTargetPID
Type: SystemInt32
An accessible target process ID.

Return Value

Type: WindowsIdentity
The identity of the target owner.
Exceptions
ExceptionCondition
AccessViolationException The given process is not accessible.
ArgumentException The given process does not exist.
See Also