Class USBComm
It represents a USB BIDI Comm at the client side.
Inheritance
System.Object
USBComm
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.Blazor
Assembly: cs.temp.dll.dll
Syntax
public class USBComm
Properties
DataToSend
Gets or sets the data to send.
Declaration
public string DataToSend { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DevicePath
Gets or sets the USB device path. Default value is an empty string.
Declaration
public string DevicePath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Gets an unique ID.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsOpen
Gets whether the USB comm is open.
Declaration
public bool IsOpen { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ReceiveBufferSize
Gets or sets the size of the receive buffer, in bytes. Default value is 1024.
Declaration
public int ReceiveBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
GenerateUniqueId()
Generates an unique ID for this comm.
Declaration
public void GenerateUniqueId()