Skip to content
Martijn Bodeman edited this page Oct 9, 2022 · 8 revisions

IbanNet is a .NET library providing functionality to validate and parse an International Bank Account Number also known as IBAN.

Example with validator

IIbanValidator validator = new IbanValidator();
ValidationResult validationResult = validator.Validate("NL91ABNA0417164300");
if (validationResult.IsValid)
{
    // ..
}

Example parsing Iban type

Iban iban;
IIbanParser parser = new IbanParser(new IbanValidator());
bool success = parser.TryParse("NL91 ABNA 0417 1643 00", out iban);