G
Guest
Hi,
We have a C#.NET win-forms application that talks to a device plugged into
the USB port. Sometimes when severe communications interruptions occur, such
as from a burst of ESD electricity, we need to toggle the power on that
device in order to bring it back to life.
We can do this by unplugging the usb cable from the PC, obviously, but our
program needs to recover without manual intervention.
Can anyone tell me how to toggle the power off, then back on, to a
particular USB port, programmatically? If I can do this via the .NET
framework, that would be best, but if I have to I can call win32 api calls...
This is critical as it is needed to pass an agency certification test, and
is delaying a product launch. Any help is much appreciated!
thanks!
Robb
We have a C#.NET win-forms application that talks to a device plugged into
the USB port. Sometimes when severe communications interruptions occur, such
as from a burst of ESD electricity, we need to toggle the power on that
device in order to bring it back to life.
We can do this by unplugging the usb cable from the PC, obviously, but our
program needs to recover without manual intervention.
Can anyone tell me how to toggle the power off, then back on, to a
particular USB port, programmatically? If I can do this via the .NET
framework, that would be best, but if I have to I can call win32 api calls...
This is critical as it is needed to pass an agency certification test, and
is delaying a product launch. Any help is much appreciated!
thanks!
Robb