Barcode Recognition and Generation in C# and VB.NET Programming

Dynamic .NET TWAIN Barcode Add-on

Dynamsoft's Dynamic .NET TWAIN image capture SDK has an integrate barcode add-on that allows you to retrieve barcode information from documents and images captured from scanners, webcams and other devices. It also provides a barcode generator API which allows creating barcodes in scanned documents and captured images. Developers can easily recognize linear barcodes, QR Code, PDF417 and Data Matrix in C# and VB.NET applications.


Dynamic .NET TWAIN is suitable for developing a Windows Forms or WPF application. Powered by its own barcode library add-on, users can read barcodes from existing image files or scanners and webcams. Below are some samples for developers to get started.


This is a comprehensive WinForms sample which enables document scanning, webcam capture, local file loading and barcode reading.

View the WinForms sample ›


This is a comprehensive WPF sample which enables document scanning, webcam capture, local file loading and barcode reading.

View the WPF sample ›

Batch Separator

Barcode can be used for auto processing in document batch scanning, such as classify or batch separator.

Use Barcode as Batch Separator ›


This sample demonstrates how to capture images from a video stream and how to read a barcode on the image.

Webcam capture + barcode recognition ›

Supported Symbologies

1D barcode

Code 39, Code 93, Code 128, Codabar, Interleaved 2 of 5, EAN-8, EAN-13 UPC-E, UPC-A, ITF (Interleaved 2 of 5), Industrial 2 of 5, MSI (Modified Plessey)

2D barcode

QR Code, Data Matrix, PDF417 (MicroPDF417 not supported), driver's license

The .NET Barcode Reader Module

  • Supports dozens of 1D barcode types and 2D barcode types
  • Supports reading multiple barcodes in a single image
  • Returns complete barcode numbers
  • Returns barcode result as a string
  • Differentiates between varying barcode types
  • Supports the selective reading of specific types of barcode, which speeds up the barcode decoding process
  • Supports zonal barcode recognition
  • Supports Error Correcting Codes (ECC). Barcodes can be read even when they are partially damaged
  • Detects QR barcodes at any orientation and at any rotation angle, regardless of color

The .NET Barcode Generator Module

  • Supports barcode generation of Code_39, Code_128, PDF417 and QRCode
  • Easy to integrate .NET Barcode component
  • Creates barcode images in Windows Forms and WPF applications
  • Supports .NET framework 2.0 and 4.0
  • Allows the barcode object to be drawn to BMP, PNG, JPEG, PDF and TIFF image formats

Why Choose Dynamsoft for Your Imaging Technology

10+ years of experience in document imaging. Associate member of the TWAIN Working Group and Gold Certified Partner of Microsoft.Trusted by major companies across different industries including Lockheed Martin, GE, HP, Walgreens OPTION CARE, U.S. Bank National Association, and more.

Why Choose Dynamsoft for Your Imaging Technology