Get Barcode Type and Encoded Data

Decode Barcode Type and Data

To get the data encoded in a barcode and identify its type, class BarCodeResult provides the two most important fields, CodeText and CodeType, respectively. The other parameter CodeTypeName represents the text name of a barcode symbology.

Read Barcode Data as Byte Stream

In cases when it is necessary to get the data encoded in a barcode in the form of a byte stream, it can be read from the specific field of class BarCodeResult that is called CodeBytes.

Decode Barcode Data in Unicode Format

In cases when the barcode data is encoded using a particular Unicode encoding, it can be read by calling the GetCodeText method and specifying the required encoding.