|
LibUsbDotNet 2.2.8
MonoUsbDeviceHandle Class
Library Reference ► MonoLibUsb ► MonoUsbDeviceHandle
|
|
Represents a Libusb-1.0 device handle.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public class MonoUsbDeviceHandle : SafeContextHandle
Public Class MonoUsbDeviceHandle _ Inherits SafeContextHandle
public ref class MonoUsbDeviceHandle : public SafeContextHandle
Members| 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.
|
RemarksTo close a device, see the Close()()()() method.
Inheritance Hierarchy| Object | ||||
|
CriticalFinalizerObject | |||
|
SafeHandle | |||
|
SafeContextHandle | |||
|
MonoUsbDeviceHandle | |||
Note:A