This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader .NET Edition.
-
Windows:
- Supported Versions: Windows 8 and higher, or Windows Server 2012 and higher
- Architecture: x64 and x86
- Development Environment: Visual Studio 2012 or higher.
-
Linux:
- Supported Distributions: Ubuntu 14.04.4+ LTS, Debian 8+, CentOS 7+
- Architectures: x64
- Minimum GLIBC Version: GLIBC_2.18 or higher
-
Supported .NET versions
- .NET Framework 3.5 and above
- .NET 6, 7, 8
| Sample | Description |
|---|---|
ReadAnImage |
This sample demonstrates the simplest way to read barcodes from an image file and output barcode format and text. |
ReadMultipleImages |
This sample demonstrates the simplest way to read barcodes from directory with image files and output barcode format and text. |
GeneralSettings |
This sample demonstrates how to configure general used settings and read barcodes from an image file. |
ReadDPMBarcode |
This sample demonstrates how to read DPM (Direct Part Marking) barcodes and get barcode results. |
ParameterTuner |
This sample demonstrates how to adjust and test different parameter settings to optimize barcode recognition performance. |
ShowLocalizedVSDecodedBarcodes |
This sample demonstrates how to highlight successfully decoded and only-localized barcodes with different styles of rectangles. |
ServerSideBarcodeDecoder |
This sample demonstrates how to decode barcodes on the server side by sending images from a client application. |
In addition to the classic barcode decoding samples listed above, the following samples go a step further by parsing the decoded results and showcasing more structured workflows.
Important
These samples use the Dynamsoft.DotNet.CaptureVision.Bundle package instead of Dynamsoft.DotNet.BarcodeReader.Bundle. If you're switching to these samples, make sure to install and use the correct package.
| Sample | Description |
|---|---|
DriverLicenseScanner |
Shows how to capture and extract user's information from driver license/ID. |
VINScanner |
Shows how to capture and extract vehicle's information from Vehicle Identification Number (VIN). |
GS1AIScanner |
Shows how to extract and interpret GS1 Application Identifiers (AIs) from GS1 barcodes. |
The library requires a license to work, you use the API LicenseManager.InitLicense to initialize license key and activate the SDK.
These samples use a free public trial license which require network connection to function. You can request a 30-day free trial license key from Customer Portal which works offline.
Contact Dynamsoft if you have any questions.