Low Level Windows Keyboard Hook In C# / .NET

A simple WPF application is used to demonstrate how to reliably capture whatever is being pressed on the keyboard no matter what has focus on the desktop.
Using MSDN, pinvoke.net and Visual Studio, a brief demo displaying keyboard input as it’s typed is shown, followed by a pointer to the blog entry where you can get the code for the types used in the video. – Happy Coding!