Read QR Code Type

Easily verify the QR code's format for intelligent processing with IronQR when dealing with multiple different formats of QR codes as inputs. IronQR exposes the detected symbology through QrResult.QrType, giving applications the information needed to validate, route, or log scanned codes based on their format.

5-step guide for reading a QR code type

  • using IronQr;
  • QrImageInput imageInput = new QrImageInput(Image.FromFile("sample.jpg"));
  • QrReader reader = new QrReader();
  • IEnumerable<QrResult> results = reader.Read(imageInput);
  • Console.WriteLine($"The QR type is {results.First().QrType}");

Code Explanation

An image containing a QR code is loaded from disk and wrapped in a QrImageInput object. A QrReader instance scans the input and returns a collection of QrResult objects, one per detected QR code. Accessing QrType on a result returns a string identifying the detected symbology, such as a standard QR code or another supported format. This value can be used directly for conditional routing, input validation, or logging.

Explore How to Read QR Code Types with IronQR.

Ready to Get Started?
Nuget Downloads 60,166 | Version: 2026.3 just released
Still Scrolling Icon

Still Scrolling?

Want proof fast? PM > Install-Package IronQR
run a sample watch your URL become a QR code.