USBNotifier Class |
Namespace: MadWizard.WinUSBNet
The USBNotifier type exposes the following members.
| Name | Description | |
|---|---|---|
| USBNotifier(IntPtr, Guid) |
Constructs a new USBNotifier that will watch for events on
devices matching the given interface GUID. A window handle
is needed since the notifier relies on window messages.
| |
| USBNotifier(IntPtr, String) |
Constructs a new USBNotifier that will watch for events on
devices matching the given interface GUID. A window handle
is needed since the notifier relies on window messages.
| |
| USBNotifier(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.
| |
| USBNotifier(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.
|
| Name | Description | |
|---|---|---|
| Dispose |
Disposes the USBNotifier object and frees all resources.
Call this method when the object is no longer needed.
| |
| Dispose(Boolean) |
Disposes the object's resources.
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| OnArrival |
Triggers the arrival event
| |
| OnRemoval |
Triggers the removal event
| |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Arrival |
Event triggered when a new USB device that matches the USBNotifier's GUID is connected
| |
| Removal |
Event triggered when a new USB device that matches the USBNotifier's GUID is disconnected
|