Programmatically enabling/disabling hardware device
26,953
Take a look at net-how-do-i-disable-a-system-device.
Author by
Icemanind
I am a .NET developer. I am proficient in C# and I use ASP.Net Core, Winforms and WPF. I also dabble in React and Xamarin.
Updated on August 17, 2020Comments
-
Icemanind over 3 years
Possible Duplicates:
[.NET] How do I disable a system device?
Win32 API function to programatically enable/disable deviceIs 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#?