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

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: (