I have to write an application in C# that listens to any keys being pressed. In actuality I have a bar code scanner sending the \"key pressed\" event, and I need to listen it..
Try keyboard and mouse hook
http://www.codeproject.com/KB/cs/globalhook.aspx