以编程方式启用/禁用硬件设备 [英] Programmatically enabling/disabling hardware device
问题描述
可能显示的文件:
[.NET]如何禁用系统设备?
<一href="http://stackoverflow.com/questions/1438371/win32-api-function-to-programatically-enable-disable-device">Win32 API函数以编程方式启用/禁用设备
Possible Duplicates:
[.NET] How do I disable a system device?
Win32 API function to programatically enable/disable device
有没有一种方法,在C#中,以编程方式禁用和重新启用的设备?我在寻找本质上讲,当你进入设备管理器,然后右击一个设备上禁用或启用它发生相同的功能。我怎样才能做到这一点在C#?
Is there a way, in C#, to programmatically disable and re-enable a device? I'm looking for essentially the same functionality that occurs when you go into device manager and right click on a device and disable or enable it. How can I do this in C#?
推荐答案
看看<一href="http://stackoverflow.com/questions/252185/net-how-do-i-disable-a-system-device">net-how-do-i-disable-a-system-device.
这篇关于以编程方式启用/禁用硬件设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!