我想保护usb磁盘的写入,我发现这样做是一种解决方案:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000001但这对我来说有两个缺点:
所以,我要做的是:
,
顺便说一句,我想在C#中做这件事,而且我正在开发Windows 7。
发布于 2012-05-25 22:32:08
不知道这有多有效,但你能强制弹出并重新装入软件吗?
How to programmatically unplug & replug an arbitrary USB device?
https://stackoverflow.com/questions/10761980
复制相似问题