如何使用VB.Net禁用USB端口 [英] How to Disable Usb Ports using VB.Net

查看:263
本文介绍了如何使用VB.Net禁用USB端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发vb.Net应用程序,我希望当用户输入正确的密码时,只有该用户才能访问可移动驱动器,否则应从我的计算机中禁用或隐藏该可移动驱动器. ?

I am developing vb.Net application in that i want that when user entered correct password then only the user can able to access the Removable drives otherwise the Removable Drive should be disable or hidden from My Computer.Is there any Solution on that?

推荐答案

^ ]

检查以上链接.... :),然后使用此链接将C#代码转换为VB.NET

http://www.developerfusion.com/tools/convert/csharp-to-vb/ [ ^ ]
http://www.programmersheaven.com/mb/dotnet/337951/337951/programatically-enable--disable-usb-port-using-cnet/[^]

Check above link....:) and convert the C# code into VB.NET using this link

http://www.developerfusion.com/tools/convert/csharp-to-vb/[^]


这篇关于如何使用VB.Net禁用USB端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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