Last post Oct 24, 2018 09:39 AM by tonyR6
Oct 09, 2018 02:36 PM|tonyR6|LINK
Hi there guys,
is there any DLL or third party controls for .net c# to validate passport numbers or get country of issue for the passports?
Oct 09, 2018 03:49 PM|PatriceSc|LINK
Never tried but according to a quick Google search it seems the passport number itself is handled by each country and that uniqueness is not even guaranteed (and even that you do have conflicts). At best maybe a regular expression for each country would
help at least to decide for cases where only one country is matching a particular number...
According to http://www.highprogrammer.com/alan/numbers/mrp.html , the issuing country is a separate information shown just before the (national) passport number...
Oct 24, 2018 09:39 AM|tonyR6|LINK
Hi there PatriceSc,
took some time to read the link you provided. Its seems highly impossible to validate it. either check for any special characters depending on country issue.