This project is an attempt to build parsing and validation library for a variety of identifiers, such as IBAN, Vat numbers, etc.
The easiest way to use this library is to get it from NuGet as follows:
Install-Package Skyware.Identisio
The identifiers comply with the well-known patterns, such as Validate(), Parse(string id) and TryParse(string id, object x).
Example code:
var egn = Egn.Parse("6101057509");
Assert.IsTrue(egn.IsMale);
Assert.IsTrue(egn.Birthdate == new DateTime(1961, 1, 5));Bulgaria
- Natvive Citizen Identifier (Единен Граждански Номер, ЕГН)
- Foreign Resident Identifier (Личен Номер на Чужденец, ЛНЧ)
- Doctor Identifier (УИН на лекар)
Former Yougoslavian countries
- JMBG (ЕМБГ)