LibUsbDotNet 2.2.8
SetConfiguration Method (config)
Library ReferenceLibUsbDotNet.LibUsbLibUsbDeviceSetConfiguration(Byte)
LibUsbDotNet on SourceForge
Sets the USB devices active configuration value.
Declaration Syntax
C#Visual BasicVisual C++
public bool SetConfiguration(
	byte config
)
Public Function SetConfiguration ( _
	config As Byte _
) As Boolean
public:
virtual bool SetConfiguration(
	unsigned char config
) sealed
Parameters
config (Byte)
The active configuration value. A zero value means the device is not configured and a non-zero value indicates the device is configured.
Return Value
True on success.
Remarks
A USB device can have several different configurations, but only one active configuration.

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