GetDevice Method (devicehandle)

LibUsbDotNet

LibUsbDotNet 2.2.8 GetDevice Method (devicehandle)
Library ReferenceMonoLibUsbMonoUsbApiGetDevice(MonoUsbDeviceHandle)
LibUsbDotNet on SourceForge
Declaration Syntax
C# Visual Basic Visual C++
public static MonoUsbProfileHandle GetDevice(
	MonoUsbDeviceHandle devicehandle
)
Public Shared Function GetDevice ( _
	devicehandle As MonoUsbDeviceHandle _
) As MonoUsbProfileHandle
public:
static MonoUsbProfileHandle^ GetDevice(
	MonoUsbDeviceHandle^ devicehandle
)
Parameters
devicehandle (MonoUsbDeviceHandle)
A device handle.
Return Value
The underlying profile handle.
Remarks

This function differs from the Libusb-1.0 C API in that when the new MonoUsbProfileHandle is returned, the device profile reference count is incremented ensuring the profile will remain valid as long as it is in-use.

Note: Member documentation was originally generated using the Libusb-1.0 API documentation: Device handling and enumeration

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