LibUsbDotNet 2.2.8
MonoUsbDeviceHandle Class
Library ReferenceMonoLibUsbMonoUsbDeviceHandle
LibUsbDotNet on SourceForge
Represents a Libusb-1.0 device handle.
Declaration Syntax
C#Visual BasicVisual C++
public class MonoUsbDeviceHandle : SafeContextHandle
Public Class MonoUsbDeviceHandle _
	Inherits SafeContextHandle
public ref class MonoUsbDeviceHandle : public SafeContextHandle
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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.

Remarks

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

Note:A MonoUsbDeviceHandle is roughly equivalent to a libusb_device_handle.
Inheritance Hierarchy

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)