![]() | DeviceChangeEventArgsUsbDevice Property |
Namespace: WinUsbNet
If a USB device has been attached (IsAttach is true), this field contains a newly created UsbDevice which has already been added to the UsbDevices collection of WinUsbManager.
If a USB device has been detached (IsAttach is false), this field contains the UsbDevice that has been removed from the UsbDevices collection of WinUsbManager. The UsbDevice is closed and its IsAttached property is set to false. It cannot be opened again.