Read Barcodes Asynchronously

We can read barcodes using the BarcodeReader class. The easiest method to use is the BarcodeReader.Read method. IronBarcode also has a ReadAsync method for multithreaded asynchronous programming.

Key Points

  • Synchronous vs Asynchronous Methods

    • Read method is straightforward for use when immediate results are needed and is called on the main thread.
    • ReadAsync method is for asynchronous execution, allowing the program to continue with other tasks while waiting for the barcode reading to complete.
  • BarcodeReaderOptions
    • ExpectMultipleBarcodes: If set to true, the reader will look for multiple barcodes in the image.
    • Speed: Sets the reading speed versus accuracy trade-off using the ReadingSpeed enum.
    • Multithreaded: Enables multithreaded reading, which is useful for processing large numbers of images quickly.

Explore Asynchronous and Multithreaded Barcode Reading

Ready to Get Started?
Nuget Downloads 2,320,539 | Version: 2026.7 just released
Still Scrolling Icon

Still Scrolling?

Want proof fast? PM > Install-Package BarCode
run a sample watch your string become a barcode.