I have to develop a tool for monitoring helpdesk agents. I can figure out how to capture keyboard events and mouse events; however I need to capture the control that emitted/consumed the event too. Is it possible to find that out?
Asked
Active
Viewed 1,610 times
2
-
You may be legit, but unfortunately the answer to this question would also be a good answer to "How do I write an effective keylogger to steal people's bank login credentials?" – davr Oct 14 '08 at 15:35
-
2Every technique has a bright and a dark side. You can harm other people with nearly every solution you find here - that's not the question. And no reason to downvote it. – Anheledir Oct 14 '08 at 15:39
-
this idea is a good one ;) i believe he is a software engineer of a call center company ;) and the boss wants to make sure all the employees are not doing facebook and being productive instead ;) – Alpha Gabriel V. Timbol Feb 09 '16 at 09:32
2 Answers
1
You need windows hooks to pick up the events. These are really the province of native code. Try asking again with Win32 tag replacing the C# tag.

Richard
- 106,783
- 21
- 203
- 265
0
I used the code from Stephen Toub's blog to add a shortcut to my application in the system tray. The comments were quite useful as well.

Tubbe
- 1,068
- 6
- 22