LibUsbDotNet 2.2.8
SetConfiguration Method (config)
Library Reference ► LibUsbDotNet ► IUsbDevice ► SetConfiguration(Byte)
|
![]() |
Sets the USB devices active configuration value.


- 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.

True on success.

A USB device can have several different configurations, but only one active configuration.