I've been searching for days looking for a way to disable USB ports with a c# program. My most promising path so far is using WMI/CIM.
CIM_USBDevice has a Reset method but unfortunately it isn't implemented in WMI. It looks like I can implement my own "provider" (excuse my newbness) to allow WMI to use this method.
Can anyone offer any insight on how I can use WMI to disable a USB port or offer me a new direction to start researching?
Thanks in advance!
by ParityClarity via /r/csharp