how could I capture keyboard input and write it to file?
<p>I couldn't find any article that would help me. I want to make an application (console, winforms, wpf, really not important) that runs in the background (have it in startup or something) and writes to a file every key that is pressed (in any textbox or stuff like that). For example the computer starts and I open IE and write in the address bar www.bla.com, then open the pokerstars application and write something in the login info or in the textboxes; and at anytime I open the textfile, I find in it what has been written untill then.</p>

<p>can you please suggest a c# approach for this? (I am using windows 7 if that is important)
thanks</p>
