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.

UsbDescriptor class

Applies to Windows only

Provides information about the type of descriptor, its size (in bytes), and gets the descriptor data.

Syntax


var usbDescriptor = Windows.Devices.Usb.UsbConfiguration.Descriptors;
var usbDescriptor = UsbInerface.Descriptors;
var usbDescriptor = UsbInterfaceSetting.Descriptors;

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The UsbDescriptor class has these types of members:

Methods

The UsbDescriptor class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
ReadDescriptorBuffer Reads descriptor data in the caller-supplied buffer.

 

Properties

The UsbDescriptor class has these properties.

PropertyAccess typeDescription

DescriptorType

Read-onlyGets the type of descriptor.

Length

Read-onlyGets the length of the descriptor.

 

Remarks

A USB device provides information about itself in data structures called USB descriptors. See section 9.5 of the Universal Serial Bus (USB) specification.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

Object
USB descriptors

 

 

Show:
© 2014 Microsoft