HidStream Members
From HidSharp
| HidStream Members | HIDSharp |
The HidStream type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| BeginRead | (Overrides | |
| BeginWrite | (Overrides | |
| EndRead | Waits for the pending asynchronous read to complete. (Overrides | |
| EndWrite | Ends an asynchronous write operation. (Overrides | |
| GetFeature( Byte ) |
Sends a Get Feature setup request.
| |
| GetFeature( Byte , Int32, Int32) |
Sends a Get Feature setup request.
| |
| Read |
Reads HID Input Reports.
| |
| Read( Byte ) |
Reads HID Input Reports.
| |
| SetFeature( Byte ) |
Sends a Set Feature setup request.
| |
| SetFeature( Byte , Int32, Int32) |
Sends a Set Feature setup request.
| |
| Write |
Writes an HID Output Report to the device.
|
Properties
| Name | Description | |
|---|---|---|
| Device |
Gets the HidDevice associated with this stream.
| |
| ReadTimeout |
The maximum amount of time, in milliseconds, to wait for to receive a HID report.
The default is 3000 milliseconds.
To disable the timeout, set this to (Overrides | |
| WriteTimeout |
The maximum amount of time, in milliseconds, to wait for the device to acknowledge a HID report.
The default is 3000 milliseconds.
To disable the timeout, set this to (Overrides |
See Also