Struct Report
Represents a Hid Input or Output report. It consists of a TransferResult to/from the device, and a Report Id. An output report is for writing to the device, and input report is for reading from the device.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Hid.Net
Assembly: Hid.Net.dll
Syntax
public struct Report
Constructors
Report(Byte, TransferResult)
Constructs a report
Declaration
public Report(byte reportId, TransferResult transferResult)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | reportId | |
| TransferResult | transferResult |
Properties
ReportId
The Hid report Id
Declaration
public readonly byte ReportId { get; }
Property Value
| Type | Description |
|---|---|
| System.Byte |
TransferResult
Data Transferred to/from the device
Declaration
public readonly TransferResult TransferResult { get; }
Property Value
| Type | Description |
|---|---|
| TransferResult |