Represents a Libusb-1.0 device handle.

C# | Visual Basic | Visual C++ |
public class MonoUsbDeviceHandle : SafeContextHandle
Public Class MonoUsbDeviceHandle _ Inherits SafeContextHandle
public ref class MonoUsbDeviceHandle : public SafeContextHandle

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | MonoUsbDeviceHandle(MonoUsbProfileHandle) | Open a device handle from profileHandle. |
![]() | Close()()()() |
Closes the MonoUsbDeviceHandle reference. When all references are no longer is use, the device
is closed in the ReleaseHandle()()()() finalizer.
|
![]() ![]() | LastErrorCode |
If the device handle is IsInvalid, gets the MonoUsbError status code indicating the reason.
|
![]() ![]() | LastErrorString |
If the device handle is IsInvalid, gets a descriptive string for the LastErrorCode.
|

To close a device, see the Close()()()() method.

Object | ||||
![]() | CriticalFinalizerObject | |||
![]() | SafeHandle | |||
![]() | SafeContextHandle | |||
![]() | MonoUsbDeviceHandle |