Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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


public ref class UsbConfiguration sealed 

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.

PropertyAccess typeDescription

ConfigurationDescriptor

Read-onlyGets the object that contains the first 9 bytes of the descriptor associated with the USB configuration.

Descriptors

Read-onlyGets an array of objects that represent the full set of descriptors associated with a USB configuration.

UsbInterfaces

Read-onlyGets 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

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft. All rights reserved.