IbanNet is a .NET library providing functionality to validate and parse an International Bank Account Number also known as IBAN.
IbanNet |
Documentation | |
IbanNet.DataAnnotations |
Documentation | |
IbanNet.DependencyInjection.Autofac |
Documentation | |
IbanNet.DependencyInjection.ServiceProvider |
Documentation | |
IbanNet.FluentValidation |
Documentation |
IIbanValidator validator = new IbanValidator();
ValidationResult validationResult = validator.Validate("NL91 ABNA 0417 1643 00");
if (validationResult.IsValid)
{
// ..
}
Iban iban;
IIbanParser parser = new IbanParser(new IbanValidator());
bool success = parser.TryParse("NL91 ABNA 0417 1643 00", out iban);
PR's are welcome. Please rebase before submitting, provide test coverage, and ensure the AppVeyor build passes. I will not consider PR's otherwise.
- skwas (author/maintainer)