HidStream Members

HidSharp

HidStream Members HIDSharp

The HidStream type exposes the following members.

Methods

  NameDescription
Public methodBeginRead (Overrides OnlineStream BeginRead( Byte , Int32, Int32, AsyncCallback, Object).)
Public methodBeginWrite (Overrides OnlineStream BeginWrite( Byte , Int32, Int32, AsyncCallback, Object).)
Public methodEndRead
Waits for the pending asynchronous read to complete.
(Overrides OnlineStream EndRead(IAsyncResult).)
Public methodEndWrite
Ends an asynchronous write operation.
(Overrides OnlineStream EndWrite(IAsyncResult).)
Public methodGetFeature( Byte )
Sends a Get Feature setup request.
Public methodGetFeature( Byte , Int32, Int32)
Sends a Get Feature setup request.
Public methodRead 
Reads HID Input Reports.
Public methodRead( Byte )
Reads HID Input Reports.
Public methodSetFeature( Byte )
Sends a Set Feature setup request.
Public methodSetFeature( Byte , Int32, Int32)
Sends a Set Feature setup request.
Public methodWrite
Writes an HID Output Report to the device.
Back to Top
Properties

  NameDescription
Public propertyDevice
Gets the HidDevice associated with this stream.
Public propertyReadTimeout
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 OnlineInfinite.
(Overrides OnlineStream ReadTimeout.)
Public propertyWriteTimeout
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 OnlineInfinite.
(Overrides OnlineStream WriteTimeout.)
Back to Top
See Also