Share via


UsbController Class

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

Represents the USB controller.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Hardware.UsbClient..::..UsbController

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

Syntax

'Declaration
Public NotInheritable Class UsbController
public sealed class UsbController
public ref class UsbController sealed
[<Sealed>]
type UsbController =  class end
public final class UsbController

The UsbController type exposes the following members.

Properties

  Name Description
Public property Configuration Holds the USB port's configuration information.
Public property ConfigurationError Holds the configuration error information.
Public property Status Retrieves the current status of the USB controller.

Top

Methods

  Name Description
Public method CreateUsbStream Creates the stream used by the USB controller.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodStatic member GetController Retrieves a USB controller object.
Public methodStatic member GetControllers Gets all of the USB controllers.
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.)
Public method Start Starts the USB controller.
Public method Stop Stops the USB controller.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Use this class to create a USB stream and to start or stop the USB controller.

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