IbanNet 4.1.0

Provides an IBAN validator for verifying IBAN's.

Install-Package IbanNet -Version 4.1.0
dotnet add package IbanNet --version 4.1.0
<PackageReference Include="IbanNet" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 4.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("NL91 ABNA 0417 1643 00");
if (validationResult.IsValid)
{
    // ..
}

Example with Iban type

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

v4.1.0

Changes

  • IBAN's are now always converted to upper case prior to validation.
  • Replaced Iban.ToString(string) with Iban.ToString(IbanFormat), and added obfuscated format.

Fixes

  • #19 Parse should only allow non-nullable string.
  • #23 AttemptedValue did not match actual value used in validation.
  • #24 Structure test will ignore country code casing.

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("NL91 ABNA 0417 1643 00");
if (validationResult.IsValid)
{
    // ..
}

Example with Iban type

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

v4.1.0

Changes

  • IBAN's are now always converted to upper case prior to validation.
  • Replaced Iban.ToString(string) with Iban.ToString(IbanFormat), and added obfuscated format.

Fixes

  • #19 Parse should only allow non-nullable string.
  • #23 AttemptedValue did not match actual value used in validation.
  • #24 Structure test will ignore country code casing.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on IbanNet:

Package Downloads
IbanNet.FluentValidation
FluentValidation support to validate IBAN user input.
IbanNet.DataAnnotations
Data annotations to validate IBAN user input.
IbanNet.DependencyInjection.ServiceProvider
Microsoft.Extensions.DependencyInjection integration for IbanNet; IbanNet provides an IBAN validator and parser.
IbanNet.DependencyInjection.Autofac
Autofac IoC container integration for IbanNet; IbanNet provides an IBAN validator and parser.
IbanNet.Extensions.Bban
IbanNet extension to validate BBAN national check digits.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.1.0 6,634 8/8/2020
4.0.1 20,084 5/12/2020
4.0.0 20,218 2/8/2020
4.0.0-beta0241 192 2/8/2020
4.0.0-beta0227 144 2/8/2020
4.0.0-beta0223 242 2/8/2020
4.0.0-beta0222 215 2/8/2020
4.0.0-beta0204 232 2/6/2020
4.0.0-beta0190 227 1/14/2020
4.0.0-beta0187 154 1/13/2020
4.0.0-beta0186 126 1/13/2020
4.0.0-beta0183 197 1/13/2020
4.0.0-beta0178 5,466 12/30/2019
4.0.0-beta0177 180 12/29/2019
4.0.0-beta0172 222 12/29/2019
3.2.2 72 5/12/2020
3.2.1 18,868 1/14/2020
3.2.0 8,159 11/23/2019
3.1.2 660 10/25/2019
3.1.1 5,586 7/25/2019
3.1.0 19,105 5/10/2019
3.0.0 23,315 2/14/2019
2.1.0 24,879 9/18/2018
2.0.0 11,480 2/3/2018
1.2.0 595 12/25/2017
1.1.16 510 12/25/2017
1.0.19 598 12/25/2017
1.0.18 448 12/25/2017
1.0.17 501 12/25/2017