Skip to main content

UsbClientSetting Class

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

The settings used to configure a USB client device.

public class UsbClientSetting

Properties

Mode

public UsbClientMode Mode { get; set; }

The type of device to emulate.

ManufactureName

public string ManufactureName { get; set; }

The manufacturer name.

ProductName

public string ProductName { get; set; }

The product name.

SerialNumber

public string SerialNumber { get; set; }

The serial number.

Guid

public string Guid { get; set; }

The interface GUID, used by WinUsb devices.

ProductId

public ushort ProductId { get; set; }

The product id.

VendorId

public ushort VendorId { get; set; }

The vendor id.

BcdUsb

public ushort BcdUsb { get; set; }

The USB specification release number.

BcdDevice

public ushort BcdDevice { get; set; }

The device release number.

MaxPower

public ushort MaxPower { get; set; }

The maximum power the device uses, in 2 mA units.

InterfaceName

public string InterfaceName { get; set; }

The interface name.