UsbDescriptor Class

Definition

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

public ref class UsbDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbDescriptor
Public NotInheritable Class UsbDescriptor
Inheritance
Object Platform::Object IInspectable UsbDescriptor
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

Gets the type of descriptor.

Length

Gets the length of the descriptor.

Methods

ReadDescriptorBuffer(IBuffer)

Reads descriptor data in the caller-supplied buffer.

Applies to

See also