Configuration.DeviceDescriptor Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Holds USB device descriptor information.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Hardware.UsbClient. . :: . .Configuration. . :: . .Descriptor
    Microsoft.SPOT.Hardware.UsbClient..::..Configuration..::..DeviceDescriptor

Namespace:  Microsoft.SPOT.Hardware.UsbClient
Assembly:  Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)

Syntax

'Declaration
Public Class DeviceDescriptor _
    Inherits Configuration.Descriptor
public class DeviceDescriptor : Configuration.Descriptor
public ref class DeviceDescriptor : public Configuration::Descriptor
type DeviceDescriptor =  
    class
        inherit Configuration.Descriptor
    end
public class DeviceDescriptor extends Configuration..::..Descriptor

The Configuration..::..DeviceDescriptor type exposes the following members.

Constructors

  Name Description
Public method Configuration. . :: . .DeviceDescriptor Creates a new instance of the Configuration..::..DeviceDescriptor class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field bcdDevice Identifies the version of the device.
Public field bcdUSB Identifies the version of the USB specification that this descriptor structure complies with.
Public field bDeviceClass Specifies the class code of the device as assigned by the USB specification group.
Public field bDeviceProtocol Specifies the protocol code of the device as assigned by the USB specification group.
Public field bDeviceSubClass Specifies the subclass code of the device as assigned by the USB specification group.
Public field bMaxPacketSize0 Specifies the maximum packet size, in bytes, for endpoint zero of the device.
Public field idProduct Specifies the product identifier.
Public field idVendor Specifies the vendor identifier for the device as assigned by the USB specification committee.
Public field iManufacturer Specifies a device-defined index of the string descriptor that provides a string containing the name of the manufacturer of this device.
Protected field index Specifies the descriptor's index number. (Inherited from Configuration. . :: . .Descriptor.)
Public field iProduct Specifies a device-defined index of the string descriptor that provides a string containing a description of the device.
Public field iSerialNumber Specifies a device-defined index of the string descriptor that provides a string containing a manufacturer-determined serial number for the device.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Hardware.UsbClient Namespace