ReportRead Method (Byte, Int32, ReportScanCallback)HIDSharp
Reads a HID report, calling back a provided function for each data item.

Namespace: HidSharp.Reports
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public void Read(
	byte[] buffer,
	int offset,
	ReportScanCallback callback
)

Parameters

buffer
Type: SystemByte
The buffer containing the report.
offset
Type: SystemInt32
The offset to begin reading the report at.
callback
Type: HidSharp.ReportsReportScanCallback
This callback will be called for each data item. Use this to read every value you need.
See Also

Reference