LibUsbDotNet 2.2.8
GetDeviceList Method (sessionHandle, monoUSBProfileListHandle)
Library ReferenceMonoLibUsbMonoUsbApiGetDeviceList(MonoUsbSessionHandle, MonoUsbProfileListHandle%)
LibUsbDotNet on SourceForge
Returns a list of USB devices currently attached to the system.
Declaration Syntax
C#Visual BasicVisual C++
public static int GetDeviceList(
	MonoUsbSessionHandle sessionHandle,
	out MonoUsbProfileListHandle monoUSBProfileListHandle
Public Shared Function GetDeviceList ( _
	sessionHandle As MonoUsbSessionHandle, _
	<OutAttribute> ByRef monoUSBProfileListHandle As MonoUsbProfileListHandle _
) As Integer
static int GetDeviceList(
	[InAttribute] MonoUsbSessionHandle^ sessionHandle, 
	[OutAttribute] MonoUsbProfileListHandle^% monoUSBProfileListHandle
sessionHandle (MonoUsbSessionHandle)
A valid MonoUsbSessionHandle.
monoUSBProfileListHandle (MonoUsbProfileListHandle%)
output location for a list of devices.
Return Value
The number of devices in the outputted list, or ErrorNoMem on memory allocation failure.

This is your entry point into finding a USB device to operate.

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

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (