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