Table of contents

MRZData

MRZData is a result class that contains the parsed MRZ information.

Definition

Assembly: Dynamsoft.MRZScannerBundle.Maui

Namespace: Dynamsoft.MRZScannerBundle.Maui

class MRZData

Properties

Property Type Description
FirstName string The first name of the user of the MRZ document.
LastName string The last name of the user of the MRZ document.
Sex string The sex of the user of the MRZ document.
IssuingState string The issuing state of the MRZ document.
IssuingStateRaw string The raw ICAO issuing state code as it appears in the MRZ.
Nationality string The nationality of the user of the MRZ document.
NationalityRaw string The raw ICAO nationality code as it appears in the MRZ.
DateOfBirth string The date of birth of the user of the MRZ document.
DateOfExpire string The expiry date of the MRZ document.
DocumentType string The type of MRZ document.
DocumentNumber string The MRZ document number.
PersonalNumber string? The personal number from the MRZ document, if available.
OptionalData1 string? The first optional data field from the MRZ, if available.
OptionalData2 string? The second optional data field from the MRZ, if available.
Age int The age of the user of the MRZ document.
MrzText string The raw text of the MRZ.

FirstName

The first name of the user of the MRZ document.

string FirstName { get; }

LastName

The last name of the user of the MRZ document.

string LastName { get; }

Sex

The sex of the user of the MRZ document.

string Sex { get; }

IssuingState

The issuing state of the MRZ document.

string IssuingState { get; }

IssuingStateRaw

The raw ICAO issuing state code as it appears in the MRZ (e.g. CAN, USA), before conversion to a full country name.

string IssuingStateRaw { get; }

Nationality

The nationality of the user of the MRZ document.

string Nationality { get; }

NationalityRaw

The raw ICAO nationality code as it appears in the MRZ (e.g. CAN, USA), before conversion to a full country name.

string NationalityRaw { get; }

DateOfBirth

The date of birth of the user of the MRZ document.

string DateOfBirth { get; }

DateOfExpire

The expiry date of the MRZ document.

string DateOfExpire { get; }

DocumentType

The type of MRZ document.

string DocumentType { get; }

DocumentNumber

The MRZ document number.

string DocumentNumber { get; }

PersonalNumber

The personal number from the MRZ document. This field is typically found on TD3 (passport) documents. Returns null if not present.

string? PersonalNumber { get; }

OptionalData1

The first optional data field from the MRZ. The content depends on the document type and issuing authority. Returns null if not present.

string? OptionalData1 { get; }

OptionalData2

The second optional data field from the MRZ. The content depends on the document type and issuing authority. Returns null if not present.

string? OptionalData2 { get; }

Age

The age of the user of the MRZ document.

int Age { get; }

MrzText

The raw text of the MRZ.

string MrzText { get; }

This page is compatible for: