Click or drag to resize

RemoteHookingIsAdministrator Property

true if we are running with administrative privileges, false otherwise.

Namespace:  EasyHook
Assembly:  EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
public static bool IsAdministrator { get; }

Property Value

Type: Boolean
Due to UAC on Windows Vista, this property in general will be false even if the user is in the builtin-admin group. As you can't hook without administrator privileges you should just set the UAC level of your application to requireAdministrator.
See Also