Capture key event in window service

Capture key event in window service

Post by anil » Wed, 01 Oct 2008 01:38:30


I want to capture key down event in the window service and open a new
app when the user press F7. Is there any solution available in C#
 
 
 

Capture key event in window service

Post by Dugg » Wed, 01 Oct 2008 01:55:39


Hi

What do you mean "capture key down event in the window service" ??

you mean while running a windows service, you want to capture the key
press event or what ever the key is down???

If so, you are trying to write a keylogger, (umm... trying to hack
something?) which would be blocked by many of the anti-spywares. I
mean to say that would not be a good idea to implement in an
application which is not a spy..

-Cnu