Itp.HidBarcodeScanner 2.0.7

dotnet add package Itp.HidBarcodeScanner --version 2.0.7
NuGet\Install-Package Itp.HidBarcodeScanner -Version 2.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Itp.HidBarcodeScanner" Version="2.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Itp.HidBarcodeScanner --version 2.0.7
#r "nuget: Itp.HidBarcodeScanner, 2.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Itp.HidBarcodeScanner as a Cake Addin
#addin nuget:?package=Itp.HidBarcodeScanner&version=2.0.7

// Install Itp.HidBarcodeScanner as a Cake Tool
#tool nuget:?package=Itp.HidBarcodeScanner&version=2.0.7

ITP HID Barcode Scanner API

User-mode HID API permitting use and control of USB HID POS Barcode scanners from Windows Desktop applications

API Monitors for USB devices being connected and disconnected, and aggregates them in real time. When no event handler is connected to ScanReceived, the scanner is disabled.

Example use:

Scanner = new HidScannerCollection(SynchronizationContext.Current ?? throw new InvalidOperationException());
Scanner.ScanReceived += (_, e) => Console.WriteLine(e.TextData);

Known issues

  • On certain early versions (pre-Anniversary Update) of Windows 10, BSOD can result from the non-Generic HID driver. To avoid, set the driver to Generic HID instead of HID POS Barcode Scanner

Device Support

Any device which exposes the POS Barcode Scanner HID page should be compatible. A partial list is available on Microsoft's website.

Tested devices:

  • Honeywell Xenon 1900
  • Zebra DS2208
Product Compatible and additional computed target framework versions.
.NET net7.0-windows10.0.22621 is compatible.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0-windows10.0.22621

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Itp.HidBarcodeScanner:

Package Downloads
Itp.WpfScanners

Keyboard-like incorporation of barcode scanners into WPF applications. Support for Serial and HID barcode scanners.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.7 231 8/23/2023
2.0.6 175 5/16/2023
2.0.5 134 5/16/2023
2.0.4 156 4/30/2023
2.0.3 161 4/22/2023
2.0.2 157 4/22/2023
2.0.1 151 4/22/2023