Show / Hide Table of Contents

Class HidDevice

It represents a HID (Human Interface Device) device found in the system, such as a HID-class thermal printer.

Inheritance
System.Object
HidDevice
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class HidDevice

Properties

DevicePath

Gets the Windows device interface path used to open the device with CreateFile.

Declaration
public string DevicePath { get; }
Property Value
Type Description
System.String

InputReportLength

Gets the fixed length, in bytes (including the leading Report ID byte), of the Input Reports this device sends. A value of 0 means the device/collection does not send Input Reports.

Declaration
public int InputReportLength { get; }
Property Value
Type Description
System.Int32

OutputReportLength

Gets the fixed length, in bytes (including the leading Report ID byte), of the Output Reports this device accepts. A value of 0 means the device/collection does not accept Output Reports.

Declaration
public int OutputReportLength { get; }
Property Value
Type Description
System.Int32

ProductId

Gets the USB Product ID (PID) reported by the device.

Declaration
public int ProductId { get; }
Property Value
Type Description
System.Int32

ProductName

Gets the device's product string, if the device exposes one and it could be retrieved.

Declaration
public string ProductName { get; }
Property Value
Type Description
System.String

UsageId

Gets the HID Usage ID of this device's top-level collection. Useful to disambiguate composite devices.

Declaration
public int UsageId { get; }
Property Value
Type Description
System.Int32

UsagePage

Gets the HID Usage Page of this device's top-level collection. Useful to disambiguate composite devices.

Declaration
public int UsagePage { get; }
Property Value
Type Description
System.Int32

VendorId

Gets the USB Vendor ID (VID) reported by the device.

Declaration
public int VendorId { get; }
Property Value
Type Description
System.Int32

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com