public void DidFindResult(ALIDScanPlugin anylineIDScanPlugin, ALIDResult scanResult) { ALMRZIdentification identification = (ALMRZIdentification)scanResult.Result; string passportNumber = identification.DocumentNumber.Trim(); NSDate dateOfBirth = identification.DateOfBirthObject; NSDate dateOfExpiry = identification.DateOfExpiryObject; //The passport number passed to the NFC chip must have a trailing < if there is one in the MRZ string. string mrzString = identification.MrzString; string passportNumberForNFC = String.Copy(passportNumber); while (passportNumberForNFC.Length < 9) { passportNumberForNFC += "<"; } stopMRZScanning(); this.passportNumberForNFC = passportNumberForNFC; this.dateOfBirth = dateOfBirth; this.dateOfExpiry = dateOfExpiry; readNFCChip(); }
public void DidFindResult(ALIDScanPlugin anylineIDScanPlugin, ALIDResult scanResult) { HandleResult(scanResult); }