Monday, July 5, 2010

Keyboard and Mouse OS Level Hooks

Intercepting mouse and keyboard events anywhere in the operating system was easier than I thought. It can all be done in C# while using the User32 SetWindowsHookEx method.

Links to more information:
I have a half finished proof of concept of a keyboard and mouse hook for user presence detection as well as global hotkeys.  I'll post it when I get time.

See this December post for more on this topic.

No comments:

Post a Comment