Click or drag to resize

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)
Syntax
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