Itp.HidBarcodeScanner 2.0.9

dotnet add package Itp.HidBarcodeScanner --version 2.0.9                
NuGet\Install-Package Itp.HidBarcodeScanner -Version 2.0.9                
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.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Itp.HidBarcodeScanner --version 2.0.9                
#r "nuget: Itp.HidBarcodeScanner, 2.0.9"                
#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.9

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

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 net8.0-windows10.0.22621 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.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.9 161 7/14/2024
2.0.7 277 8/23/2023
2.0.6 211 5/16/2023
2.0.5 160 5/16/2023
2.0.4 185 4/30/2023
2.0.3 195 4/22/2023
2.0.2 185 4/22/2023
2.0.1 179 4/22/2023