IbanNet 3.1.0

Provides an IBAN validator for verifying IBAN's.

Install-Package IbanNet -Version 3.1.0
dotnet add package IbanNet --version 3.1.0
<PackageReference Include="IbanNet" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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("NL91ABNA041716430");
if (validationResult.IsValid) {
  // For example:
  if (validationResult.Country.TwoLetterISORegionName != "NL") {
    throw new InvalidOperationException("Please provide a Dutch bank account.");
  }
}

Example with Iban type

Iban iban;
bool success = Iban.TryParse("NL91 ABNA 0417 1643 00", out iban);

v3.1

  • Deprecated IbanNet.IbanTypeConverter, replaced by IbanNet.TypeConverters.IbanTypeConverter.
  • Added IbanNet.FluentValidation package.
  • Upgraded registry to April '19 release 83.
  • Added extra target frameworks .NET 4.7, .NET Standard 1.6 and .NET Standard 2.0

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("NL91ABNA041716430");
if (validationResult.IsValid) {
  // For example:
  if (validationResult.Country.TwoLetterISORegionName != "NL") {
    throw new InvalidOperationException("Please provide a Dutch bank account.");
  }
}

Example with Iban type

Iban iban;
bool success = Iban.TryParse("NL91 ABNA 0417 1643 00", out iban);

v3.1

  • Deprecated IbanNet.IbanTypeConverter, replaced by IbanNet.TypeConverters.IbanTypeConverter.
  • Added IbanNet.FluentValidation package.
  • Upgraded registry to April '19 release 83.
  • Added extra target frameworks .NET 4.7, .NET Standard 1.6 and .NET Standard 2.0

Version History

Version Downloads Last updated
3.1.0 115 5/10/2019
3.0.0 3,154 2/14/2019
2.1.0 10,363 9/18/2018
2.0.0 10,228 2/3/2018
1.2.0 301 12/25/2017
1.1.16 233 12/25/2017
1.0.19 279 12/25/2017
1.0.18 194 12/25/2017
1.0.17 194 12/25/2017