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 | |
---|---|---|
![]() |
Configuration | Holds the USB port's configuration information. |
![]() |
ConfigurationError | Holds the configuration error information. |
![]() |
Status | Retrieves the current status of the USB controller. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CreateUsbStream | Creates the stream used by the USB controller. |
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() |
GetController | Retrieves a USB controller object. |
![]() ![]() |
GetControllers | Gets all of the USB controllers. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Start | Starts the USB controller. |
![]() |
Stop | Stops the USB controller. |
![]() |
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.