USBNotifier Constructor (Control, String) |
Constructs a new USBNotifier that will watch for events on
devices matching the given interface GUID. A Windows Forms control
is needed since the notifier relies on window messages.
Namespace:
MadWizard.WinUSBNet
Assembly:
WinUSBNet (in WinUSBNet.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic USBNotifier(
Control control,
string guidString
)
Public Sub New (
control As Control,
guidString As String
)
public:
USBNotifier(
Control^ control,
String^ guidString
)
Parameters
- control
- Type: System.Windows.FormsControl
A control that will be used internally for device notification messages.
You can use a Form object for example. - guidString
- Type: SystemString
The interface GUID string of the devices to watch.
See Also