LibUsbDotNet 2.2.8
GetConfiguration Method (config)
Library Reference ► LibUsbDotNet ► IUsbDevice ► GetConfiguration(Byte%)
|
Gets the USB devices active configuration value.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Function GetConfiguration ( _ <OutAttribute> ByRef config As Byte _ ) As Boolean
bool GetConfiguration( [OutAttribute] unsigned char% config )
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.