Skip to main content

UsbClientController Class

NuGet: GHIElectronics.TinyCLR.Devices.UsbClient
Assembly: GHIElectronics.TinyCLR.Devices.UsbClient
Namespace: GHIElectronics.TinyCLR.Devices.UsbClient

Provides access to a USB client controller.

public class UsbClientController : IDisposable

Properties

Provider

public IUsbClientControllerProvider Provider { get; }

The underlying provider for the controller.

Methods

GetDefault()

public static UsbClientController GetDefault()

Gets the default USB client controller.

Returns UsbClientController

FromName(string name)

public static UsbClientController FromName(string name)

Gets the USB client controller with the given name.

Returns UsbClientController

FromProvider(IUsbClientControllerProvider provider)

public static UsbClientController FromProvider(IUsbClientControllerProvider provider)

Gets a USB client controller from the given provider.

Returns UsbClientController

Dispose()

public void Dispose()

Disposes the controller.