Get a MonoUsbProfileHandle for a MonoUsbDeviceHandle.

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 )

- devicehandle (MonoUsbDeviceHandle)
- A device handle.

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.
