Click here to Skip to main content
12,761,248 members (31,004 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
How to build a c# console application which continuously sniff through the keyboard and mouse activities??? I've gone through many articles in code project and other sites also but no good results found. Thanks in advance.
Posted 23-Dec-12 16:32pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Well, if you wanted to created spyware, be careful, who you give it to, you could get in a lot of trouble.

In my mind, an ultimate "watcher" would include a STMP client to send they're keystrokes and mouse events. This is probably what you're thinking of also.

A sample KeyBoardHook:
Processing Global Mouse and Keyboard Hooks in C#[^]
A sample SMTP client:
Sending Mails in .NET Framework[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Please take a look at this Article...[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100