如何使用.NET创建密钥记录器? - 窥视Windows事件处理 [英] How to create a key logger with .NET? -- Peeking into Windows event handling

查看:55
本文介绍了如何使用.NET创建密钥记录器? - 窥视Windows事件处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要完成的是知道键盘上的按键是什么,无论我的应用程序是在前台还是后台运行。原因是我想要更换蹩脚的华硕ROG Armor并扩展其可能性。如果按下ALT键,就像
一样,当与ALT键一起按下时产生可见字符的所有键都应该用某种颜色点亮。为此,我的应用程序必须知道在Windows''吃'此事件之前哪个键已经被击落。

解决方案

你好C. Posingies,


1。不确定以下链接是否有用:


通过屏蔽键控字符输入.NET控制台密码


2。但看看。它可以作为一个起点。


- 生物。




What I want to accomplish is to know what key has been pressed on the keyboard regardless whether my application is running in fore- or background. The reason is that I want to replace the crappy ASUS ROG Armour stuff and to extend its possibilities. Like if you press the ALT key, all keys that would produce a visible character when pressed together with the ALT key should be illuminated with a certain color. To do so, my application has to know which key has been downed before Windows ''eats'' this event.

解决方案

Hello C. Posingies,

1. Not sure whether the following link will be helpful :

.NET Console Password Input By Masking Keyed-In Characters

2. But have a look. It may serve as a starting point.

- Bio.


这篇关于如何使用.NET创建密钥记录器? - 窥视Windows事件处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆