Click or drag to resize

RemoteHookingIsX64Process Method

Determines if the target process is 64-bit or not. This will work only if the current process has PROCESS_QUERY_INFORMATION access to the target.

Namespace:  EasyHook
Assembly:  EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
public static bool IsX64Process(
	int InTargetPID


Type: SystemInt32
The PID of the target process.

Return Value

Type: Boolean
true if the given process is 64-bit, false otherwise.
AccessViolationException The given process is not accessible.
ArgumentException The given process does not exist.
A typical mistake is to enumerate processes under system privileges and calling this method later when required. This won't work in most cases because you'll also need system privileges to run this method on processes in other sessions!
See Also