USBNotifier Constructor (Control, Guid) |
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,
Guid guid
)
Public Sub New (
control As Control,
guid As Guid
)
public:
USBNotifier(
Control^ control,
Guid guid
)
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. - guid
- Type: SystemGuid
The interface GUID of the devices to watch.
See Also