Detecting mouse and keyboard input with .NET

added by webpoet
12/15/2010 1:30:24 AM

0 Kicks, 91 Views

Recently I built a small .NET application with WPF that needed to detect system-wide mouse and keyboard input. In order to do so I had to do some low-level hooks from .NET into Windows. In this post I discuss how I did them and offer some downloadable sample code.