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

C# | Visual Basic | Visual C++ |
Function GetConfiguration ( _ <OutAttribute> ByRef config As Byte _ ) As Boolean
bool GetConfiguration( [OutAttribute] unsigned char% config )

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