AndroThink.Barcode.WPF 1.0.5

dotnet add package AndroThink.Barcode.WPF --version 1.0.5
                    
NuGet\Install-Package AndroThink.Barcode.WPF -Version 1.0.5
                    
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="AndroThink.Barcode.WPF" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AndroThink.Barcode.WPF" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="AndroThink.Barcode.WPF" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AndroThink.Barcode.WPF --version 1.0.5
                    
#r "nuget: AndroThink.Barcode.WPF, 1.0.5"
                    
#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.
#:package AndroThink.Barcode.WPF@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AndroThink.Barcode.WPF&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=AndroThink.Barcode.WPF&version=1.0.5
                    
Install as a Cake Tool

WPFBarCode Nuget

Help in dealing with the barcode readers in your wpf application

alternate text is missing from this package README image

How to use

In Your Control

var BarCodeReader = BarCoder.BarCodeReader.GetDefaultReader()
                            .WithPrefix(System.Windows.Input.Key.F12) // Configuration for the reader device for the prefix key
                            .WithSuffix(System.Windows.Input.Key.Enter)  // Configuration for the reader device for the suffix key
                            // To listen on specific input element
                            .WithUIElement(this, false, (result) =>
                            {
                                string code = result.Barcode;
                            })
                            // To notify the control using an event
                            .WithEvent(viewModel.DocumentId, viewModel.DocumentId.ToString(), new BarCoder.BaseBarCodeEvent((result) =>
                            {
                                string code = result.Barcode;
                                viewModel.OnBarcodeCallBack?.Invoke(code);
                            })).NotifyOnlyActiveEvent() // if you want to notify the ui using only the event you register
                            .SetCurrentActiveEvent(viewModel.DocumentId); // determin the current active window/page by setting a unique identifier for it this id will be with the event result

BarCodeReader.StartListen(); // start listen
....
BarCodeReader.StopListen(); // stop listen

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 279 12/18/2024
1.0.4 110 11/19/2024
1.0.3 111 11/19/2024
1.0.2 102 11/19/2024