I tried to make the mouse cursor invisible using the following code:

Cursor.Hide();

The mouse cursor does disappear from the screen and it does not appear in video captured using Expression Encoder 4.

PrintScreen is useless since it does not show the mouse cursor anyway. However, I installed a keylogger on my system and the mouse is visible in screenshots taken by the keylogger, even though it is not visible to the user on the screen.

How is this possible? How can I make the mouse cursor invisible to the keylogger as well?

有帮助吗?

解决方案

A keylogger may be programmed to take a screenshot and then insert the cursor image by itself using the position and cursor type. You will not be able to stop this from happening if this is the case.

其他提示

If you are running WPF applications, try this at runtime (when you capture screen):

    this.Cursor = Cursors.None;

See also this post.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top