Integrate globalKeyboardHook into your project
masterTo use globalKeyboardHook, add the globalKeyboardHook.cs file directly to your project. You must include the Utilities namespace in the file where you intend to use the hook.
- Add
globalKeyboardHook.csto your project. - Add
using Utilities;to your source file. - Instantiate the hook using
new globalKeyboardHook().
using Utilities;
// Inside your class
globalKeyboardHook gkh = new globalKeyboardHook();