如何使用.NET创建密钥记录器?

编程入门 行业动态 更新时间:2024-10-28 11:18:53
本文介绍了如何使用.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创建密钥记录器?

本文发布于:2023-11-15 17:31:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1596522.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:记录器   密钥   如何使用   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!