HidDeviceInputReceiver ClassHIDSharp
Inheritance Hierarchy

SystemObject
  HidSharp.Reports.InputHidDeviceInputReceiver

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

public class HidDeviceInputReceiver

The HidDeviceInputReceiver type exposes the following members.

Constructors

  NameDescription
Public methodHidDeviceInputReceiver
Initializes a new instance of the HidDeviceInputReceiver class
Top
Methods

  NameDescription
Public methodStart
Starts the receiver. It will continue until the stream is closed or the device is disconnected. Be sure to call TryRead(Byte, Int32, Report) to read HID reports as they come in.
Public methodTryRead
Checks for pending HID reports.
Top
Properties

  NameDescription
Public propertyIsRunning
true if the receiver is running. false if the receiver has stopped, or has not yet been started.
Public propertyReportDescriptor
Public propertyStream
The stream associated with this receiver.
Public propertyWaitHandle
This will be signaled any time there is data, or when the receiver has stopped due to stream closure or device disconnect. To clear the signal, call TryRead(Byte, Int32, Report) until there is no more data. If the receiver has stopped, the signal cannot be cleared.
Top
Events

  NameDescription
Public eventReceived
Public eventStarted
Public eventStopped
Top
See Also

Reference