|
LibUsbDotNet 2.2.8
MonoUsbDeviceHandle Constructor (profileHandle)
Library Reference ► MonoLibUsb ► MonoUsbDeviceHandle ► MonoUsbDeviceHandle(MonoUsbProfileHandle)
|
|
Open a device handle from profileHandle.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public MonoUsbDeviceHandle( MonoUsbProfileHandle profileHandle )
Public Sub New ( _ profileHandle As MonoUsbProfileHandle _ )
public: MonoUsbDeviceHandle( MonoUsbProfileHandle^ profileHandle )
Parameters- profileHandle (MonoUsbProfileHandle)
- A device profile handle.
RemarksA handle allows you to perform I/O on the device in question.
To close a device handle call its Close()()()() method.
This is a non-blocking function; no requests are sent over the bus.
Note:The MonoUsbDeviceHandle(MonoUsbProfileHandle) constructor is roughly equivalent to libusb_open().