UsbDescriptor UsbDescriptor UsbDescriptor UsbDescriptor UsbDescriptor Class

Definition

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

public : sealed class UsbDescriptor : IUsbDescriptor
struct winrt::Windows::Devices::Usb::UsbDescriptor : IUsbDescriptor
public sealed class UsbDescriptor : IUsbDescriptor
Public NotInheritable Class UsbDescriptor Implements IUsbDescriptor
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

Properties

DescriptorType DescriptorType DescriptorType DescriptorType DescriptorType

Gets the type of descriptor.

Length Length Length Length Length

Gets the length of the descriptor.

Methods

ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer)

Reads descriptor data in the caller-supplied buffer.

See Also