Capturing mouse or keyboard events from C# program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pavanjosh
    New Member
    • Sep 2006
    • 2

    Capturing mouse or keyboard events from C# program

    Hello All,

    I want to develop an application which is a banking application. I have already developed a application in .NET , C#. The major functionality of this application is automatic logging off from the application.

    In that regard, i am planning to write 2 threads. one thread to listen to system events and keep a counter and the other thread checks if in a particular time any events are there then it will not logg off, otherwise it will automatically loggs off.

    I am new to .NET. Ur help is greatly appreciated.
    Please can someone suggest me how to write a program in C# which will listen to system events like, any mouse move or keyboard press?.
  • OJansen
    New Member
    • Nov 2006
    • 34

    #2
    spare us the talk :) haha

    look up the word keylogger... and decompile you see...

    Comment

    Working...