IbanNet 3.1.1

Provides an IBAN validator for verifying IBAN's.

Install-Package IbanNet -Version 3.1.1
dotnet add package IbanNet --version 3.1.1
<PackageReference Include="IbanNet" Version="3.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 3.1.1
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.1

  • Removed ability to apply IbanAttribute to fields, since model validation does not occur for fields.
  • Improved continuous integration, added code coverage.

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.1

  • Removed ability to apply IbanAttribute to fields, since model validation does not occur for fields.
  • Improved continuous integration, added code coverage.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.1.1 201 7/25/2019
3.1.0 4,987 5/10/2019
3.0.0 6,420 2/14/2019
2.1.0 14,967 9/18/2018
2.0.0 10,537 2/3/2018
1.2.0 368 12/25/2017
1.1.16 282 12/25/2017
1.0.19 353 12/25/2017
1.0.18 236 12/25/2017
1.0.17 275 12/25/2017