C# Data Matrix Barcode Reader Library
How to read Data Matrix in C# ASP.NET, MVC, Windows apps?

C#.NET Data Matrix Barcode Reader for .NET, C#, ASP.NET & VB.NET
Barcode Reader for C#.NET library > How to read, scan barcodes using C#? > Scan, read, recognize Data Matrix barcode image in C#


  • Fully written in Visual C#.NET 2.0
  • Consistent with .NET 2.0, 3.0, 3.5 and later version
  • Have fast reading speed
  • Support reading distorted Data Matrix barcode images
  • Read Data Matrix barcodes from all angles
  • Scan multiple Data Matrix barcodes in a single image file
  • Support GIF, JPEG, PNG & TIFF formats
Download Data Matrix .NET Barcode Reader
Users are free to download trial version of KA.Barcode Reader for .NET. Once the trial version of this barcode reader is unzipped, you will find:
  • KeepAutomation.BarcodeReader.dll
  • End user license agreement
  • User manual
  • Order page
Pay attention: The trial version of our .NET barcode reader decodes the first character of a barcode symbology randomly. So please purchase our applicable license if you want to use it for other applications.
.NET Data Matrix Barcode Reader User Manual
  1. Add reference KeepAutomation.BarcodeReader.dll to your project.
  2. Use the following C# & VB demo codes below.
C# Sample code
     using KeepAutomation.BarcodeReader;
String[] datas = BarcodeReader.readBarcode("C:\barcode.jpeg", BarcodeType.DataMatrix);
VB Sample code
     Imports KeepAutomation.BarcodeReader  
Dim datas As [String]() = BarcodeReader.readBarcode("C:\barcode.jpeg", BarcodeType.DataMatrix)
.NET Barcode Reader Licenses & Prices








Frequently Asked Questions

Can you define a Data Matrix code?

It is a type of two-dimensional barcode that encodes data in a pattern of black and white cells, usually organized as a square. Using KeepAutomation C# Barcode Reader SDK, you can scan, decode Data Matrix code from barcode image files in C# ASP.NET, MVC, Blazor, Windows Forms, WPF applications.

What is the ISO standard governing Data Matrix?

The technology is standardized under ISO/IEC 16022, which was last revised and reaffirmed in 2024. C# Barcode Scanner library fully support Data Matrix ISO standard, which will scan, read standard Data Matrix from image files in Visual Studio .NET projects.

Is it possible to scan a Data Matrix code?

Yes. Use a scanner app installed on your iPhone or Android phone to scan and decode Data Matrix codes from images. Using KeepAutomation C# Data Matrix Barcode Reader library, you can easily scan, decode Data Matrix code from barcode image files in C# class.

Is a Data Matrix code resistant to damage?

Yes. While Data Matrix barcodes can get damaged, ECC200 Data Matrix uses Reed-Solomon error correction. A Data Matrix using the common ECC 200 standard can sustain damage to up to 50% of its pattern and remain scannable because of its advanced error correction. C# Data Matrix Scanner library supports reading and scanning partial damaged Data Matrix images, and return verified Data Matrix codes in C# web and desktop applications.

How do you retrieve GS1 data from a Data Matrix?

Yes. A standard barcode scanner can read the code, but the output must be processed by a system that understands, Data Matrix codes with encoded GS1 data need to follow GS1's specifications. and separates the GS1 data formats to make the information usable. The system must not only read the barcode but also decode it according to GS1 rules to correctly extract the structured information like batch numbers and expiration dates. KeepAutomation C# Data Matrix Barcode Reader library supports both ISO standard and GS1 standard Data Matrix scanning and decoding in your C# ASP.NET Core, WinForms web and Windows applications.