Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically enabling/disabling hardware device [duplicate]

Possible Duplicates:
[.NET] How do I disable a system device?
Win32 API function to programatically enable/disable device

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#?

like image 317
Icemanind Avatar asked Nov 06 '22 09:11

Icemanind


1 Answers

Take a look at net-how-do-i-disable-a-system-device.

like image 200
Will A Avatar answered Nov 14 '22 22:11

Will A