LibUsbDotNet 2.2.8
GetConfiguration Method (config)
Library Reference ► LibUsbDotNet ► UsbDevice ► GetConfiguration(Byte%)
|
Gets the USB devices active configuration value.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Overridable Function GetConfiguration ( _ <OutAttribute> ByRef config As Byte _ ) As Boolean
public: virtual 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.