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 : IUsbDescriptorpublic sealed class UsbDescriptor : IUsbDescriptorPublic NotInheritable Class UsbDescriptor Implements IUsbDescriptor// You can use this class in JavaScript.
- 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
Gets the type of descriptor.
public : byte DescriptorType { get; }public byte DescriptorType { get; }Public ReadOnly Property DescriptorType As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The type of descriptor.
Methods
ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer) ReadDescriptorBuffer(IBuffer)
Reads descriptor data in the caller-supplied buffer.
public : void ReadDescriptorBuffer(IBuffer buffer)public void ReadDescriptorBuffer(IBuffer buffer)Public Function ReadDescriptorBuffer(buffer As IBuffer) As void// You can use this method in JavaScript.
Parameters