HidStream Members | HIDSharp |
The HidStream type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
BeginRead | (Overrides Stream BeginRead( Byte , Int32, Int32, AsyncCallback, Object).) | |
BeginWrite | (Overrides Stream BeginWrite( Byte , Int32, Int32, AsyncCallback, Object).) | |
EndRead | Waits for the pending asynchronous read to complete. (Overrides Stream EndRead(IAsyncResult).) | |
EndWrite | Ends an asynchronous write operation. (Overrides Stream EndWrite(IAsyncResult).) | |
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 Infinite.
(Overrides Stream ReadTimeout.) | |
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 Infinite.
(Overrides Stream WriteTimeout.) |
See Also