0

i want create windows application in c# with this plan:
1-windows application listen to user activity.
2-when user open the web site,for example google.com
3-c# detect user open google.com.
4-c# listen to user keyboard and when user type anything on the google search text box
5-show simple message box what type with user in google search box.
How can i implement my plan?I do not know what to do.
thanks.

behzad razzaqi
  • 1,503
  • 2
  • 18
  • 33
  • Answer: with difficulty – Dai Jul 29 '15 at 04:08
  • Are you trying to build keylogger ? :) SO doesn't appreciate questions like this. Also the question is too broad in this format, probably will be closed. – mybirthname Jul 29 '15 at 04:14
  • @mybirthname no i my company buy a software ,and that sofware write with apex and can not create log file when file load with sqloader and i want read that file log in URL, – behzad razzaqi Jul 29 '15 at 04:16

1 Answers1

0

This is far to vague a question to give a specific answer to, however I will point you in the general direction (although it's probably going to be far more in depth than what you expect/want).

You need to start messing around with low level Win32 API calls, specificall SetWindowsHookEx.

A couple of references to get you started:

Years ago I did heaps of this sort of stuff (but back in the C++ days) and found Spy++ from Microsoft invaluable when pulling apart applications and hooking into their message loops and windows (nothing malicious, the software was actually extending PowerPoint shudder).

Community
  • 1
  • 1
Paul Carroll
  • 1,523
  • 13
  • 15