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)
Syntax public static bool IsAdministrator { get; }
Public Shared ReadOnly Property IsAdministrator As Boolean
Get
public:
static property bool IsAdministrator {
bool get ();
}
static member IsAdministrator : bool with get
Property Value
Type:
BooleanRemarks
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