Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.GlobalKeyboardListener

Summary

Manages a global low-level keyboard hook.

Constructors

Initializes a new instance of the GlobalKeyboardListener class and installs the keyboard hook.

Instance methods

void
  • Implements: IDisposable.Dispose()
Unregisters the hook and disposes the object.

Instance properties

bool Gets or sets a value indicating whether all keys are listened for. If this is set to true, GlobalKeyboardListener.HookedKeys is ignored.
List<Keys>The collections of keys to watch for. This is ignored if GlobalKeyboardListener.HookAllKeys is set to true.

Events

GlobalKeyEventHandlerOccurs when one of the hooked keys is pressed.
GlobalKeyEventHandlerOccurs when one of the hooked keys is released.