Itp.HidBarcodeScanner
2.0.9
dotnet add package Itp.HidBarcodeScanner --version 2.0.9
NuGet\Install-Package Itp.HidBarcodeScanner -Version 2.0.9
<PackageReference Include="Itp.HidBarcodeScanner" Version="2.0.9" />
paket add Itp.HidBarcodeScanner --version 2.0.9
#r "nuget: Itp.HidBarcodeScanner, 2.0.9"
// 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows10.0.22621 is compatible. |
-
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.