捕获加密的USB解密事件? [英] Capture encrypted USB decryption event?

查看:86
本文介绍了捕获加密的USB解密事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用具有密码保护功能的Kingston DT4000 G2 USB驱动器.

hi I am using a Kingston DT4000 G2 USB drive with password protected.

我可以跟踪磁盘插入&在Windows下通过调用RegisterDeviceNotification()退出事件,并通过WM_DEVICECHANGE接收通知;

I could track disk plug in & out event under windows by calling RegisterDeviceNotification(), and receive notification by WM_DEVICECHANGE;

问题是直到我输入密码后媒体才可用.在解密之前,我可以看到设备和系统将显示请将磁盘插入USB驱动器(E :)".

While the problem is the media is not available till I input password. Before decryption I could see the device and system will show "Please insert a disk into USB drive (E:)".

但是当数据被解密并且媒体对我而言确实可用时,我无法捕获事件.是否可以使用Win32捕获此类事件?

But I can't capture the event when data is decrypted and media is really available to me. Is there a such event could be captured using win32?

推荐答案

您可以将以下示例与但是请注意,由于安全注意事项,此示例必须以管理员身份运行.

But please note that due to the Security Considerations, this sample must be run as admin.

或者没有管理员权限,您可以在本示例中使用轮询方法:

Or without administrator privileges, you could use the polling method in this example:

查看全文

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