UsbEndpointDescriptor UsbEndpointDescriptor UsbEndpointDescriptor UsbEndpointDescriptor Class

Derives information from the USB endpoint descriptor of the endpoint, such as type, direction, and endpoint number. This object also gets the specific endpoint descriptors based on the type of endpoint. For an explanation of an endpoint descriptor, see Section 9.6.5 in the Universal Serial Bus Specification:

  • Table 9.18 in the Universal Serial Bus 3.0 Specification
  • Table 9.13 in the Universal Serial Bus Specification (version 2.0)

Syntax

Declaration

public sealed class UsbEndpointDescriptorpublic sealed class UsbEndpointDescriptorPublic NotInheritable Class UsbEndpointDescriptorpublic sealed class UsbEndpointDescriptor

Properties summary

Gets an object that represents the endpoint descriptor for the USB bulk IN endpoint.

Gets an object that represents the endpoint descriptor for the USB bulk OUT endpoint.

Gets an object that represents the endpoint descriptor for the USB interrupt IN endpoint.

Gets an object that represents the endpoint descriptor for the USB interrupt OUT endpoint.

Gets the direction of the USB endpoint.

Gets the USB endpoint number.

Gets the type of USB endpoint.

Methods summary

Parses the specified USB descriptor and returns the USB endpoint descriptor in a UsbEndpointDescriptor object.

Retrieves the USB endpoint descriptor in a UsbEndpointDescriptor object that is contained in a UsbDescriptor object.

Properties

  • AsBulkInEndpointDescriptor
    AsBulkInEndpointDescriptor
    AsBulkInEndpointDescriptor
    AsBulkInEndpointDescriptor

    Gets an object that represents the endpoint descriptor for the USB bulk IN endpoint.

    public UsbBulkInEndpointDescriptor AsBulkInEndpointDescriptor { get; }public UsbBulkInEndpointDescriptor AsBulkInEndpointDescriptor { get; }Public ReadOnly Property AsBulkInEndpointDescriptor As UsbBulkInEndpointDescriptorpublic UsbBulkInEndpointDescriptor AsBulkInEndpointDescriptor { get; }

    Property Value

  • AsBulkOutEndpointDescriptor
    AsBulkOutEndpointDescriptor
    AsBulkOutEndpointDescriptor
    AsBulkOutEndpointDescriptor

    Gets an object that represents the endpoint descriptor for the USB bulk OUT endpoint.

    public UsbBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor { get; }public UsbBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor { get; }Public ReadOnly Property AsBulkOutEndpointDescriptor As UsbBulkOutEndpointDescriptorpublic UsbBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor { get; }

    Property Value

  • AsInterruptInEndpointDescriptor
    AsInterruptInEndpointDescriptor
    AsInterruptInEndpointDescriptor
    AsInterruptInEndpointDescriptor

    Gets an object that represents the endpoint descriptor for the USB interrupt IN endpoint.

    public UsbInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor { get; }public UsbInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor { get; }Public ReadOnly Property AsInterruptInEndpointDescriptor As UsbInterruptInEndpointDescriptorpublic UsbInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor { get; }

    Property Value

  • AsInterruptOutEndpointDescriptor
    AsInterruptOutEndpointDescriptor
    AsInterruptOutEndpointDescriptor
    AsInterruptOutEndpointDescriptor

    Gets an object that represents the endpoint descriptor for the USB interrupt OUT endpoint.

    public UsbInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor { get; }public UsbInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor { get; }Public ReadOnly Property AsInterruptOutEndpointDescriptor As UsbInterruptOutEndpointDescriptorpublic UsbInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor { get; }

    Property Value

  • Direction
    Direction
    Direction
    Direction

    Gets the direction of the USB endpoint.

    public UsbTransferDirection Direction { get; }public UsbTransferDirection Direction { get; }Public ReadOnly Property Direction As UsbTransferDirectionpublic UsbTransferDirection Direction { get; }

    Property Value

  • EndpointNumber
    EndpointNumber
    EndpointNumber
    EndpointNumber

    Gets the USB endpoint number.

    public byte EndpointNumber { get; }public byte EndpointNumber { get; }Public ReadOnly Property EndpointNumber As bytepublic byte EndpointNumber { get; }

    Property Value

    • byte
      byte
      byte
      byte

      The USB endpoint number. That number is in Bit 3...0 of the bEndpointAddress field of an endpoint descriptor. For information, see Table 9-13 in the Universal Serial Bus Specification (version 2.0) or Table 9-18 in the Universal Serial Bus 3.0 Specification.

  • EndpointType
    EndpointType
    EndpointType
    EndpointType

    Gets the type of USB endpoint.

    public UsbEndpointType EndpointType { get; }public UsbEndpointType EndpointType { get; }Public ReadOnly Property EndpointType As UsbEndpointTypepublic UsbEndpointType EndpointType { get; }

    Property Value

Methods

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute

Details

Assembly

Windows.Devices.Usb.dll