Detecting global mouse hooks in a console app with C#
doumer.me