 
        UsbConfiguration class
Provides information about a USB configuration, its descriptors and the interfaces defined within that configuration. For an explanation of a USB configuration, see Section 9.6.3 in the Universal Serial Bus (USB) specification.
Syntax
var usbConfiguration = Windows.Devices.Usb.UsbDevice.Configuration;
Attributes
- [DualApiPartition()]
- [MarshalingBehavior(Agile)]
- [Version(0x06030000)]
Members
The UsbConfiguration class has these types of members:
Methods
The UsbConfiguration class inherits methods from the Object class (C#/VB/C++).
Properties
The UsbConfiguration class has these properties.
| Property | Access type | Description | 
|---|---|---|
| Read-only | Gets the object that contains the first 9 bytes of the descriptor associated with the USB configuration. | |
| Read-only | Gets an array of objects that represent the full set of descriptors associated with a USB configuration. | |
| Read-only | Gets an array of USB interfaces available in the USB configuration. | 
Remarks
Within a USB configuration, the number of interfaces and their alternate settings are variable, depending on the number of interfaces that the device supports. You can collect all that information by using: UsbConfigurationDescriptor and UsbConfigurationDescriptor.Descriptors. The UsbConfigurationDescriptor contains the first 9 bytes of the configuration descriptor. The UsbConfigurationDescriptor.Descriptors object contains an array of descriptors associated with all interfaces and their settings.
Requirements
| Minimum supported client | Windows 8.1 [Windows Store apps, desktop apps] | 
|---|---|
| Minimum supported server | Windows Server 2012 R2 [Windows Store apps, desktop apps] | 
| Namespace | 
 
 | 
| Metadata | 
 | 
See also
