how to use console/windows app without focus on it?

删除回忆录丶 提交于 2019-12-08 07:11:12

问题


im going to create a KEylog application that enables me to write all data typed(keys pressed) on a text file/database how can i do this without focus on the windows app/console app?

for a reason , for all you to know, this is for my PC and im not trying to hack an account. just for me to know what they are doing on my computer.


回答1:


Find an example written in .NET here:

Processing Global Mouse and Keyboard Hooks in C#

This class allows you to tap keyboard and mouse and/or to detect their activity even when an application runs in the background or does not have any user interface at all.



来源:https://stackoverflow.com/questions/7283397/how-to-use-console-windows-app-without-focus-on-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!