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 11,849 8/8/2020
4.0.1 23,289 5/12/2020
4.0.0 20,970 2/8/2020
4.0.0-beta0241 207 2/8/2020
4.0.0-beta0227 163 2/8/2020
4.0.0-beta0223 260 2/8/2020
4.0.0-beta0222 230 2/8/2020
4.0.0-beta0204 248 2/6/2020
4.0.0-beta0190 241 1/14/2020
4.0.0-beta0187 168 1/13/2020
4.0.0-beta0186 141 1/13/2020
4.0.0-beta0183 212 1/13/2020
4.0.0-beta0178 5,764 12/30/2019
4.0.0-beta0177 196 12/29/2019
4.0.0-beta0172 238 12/29/2019
3.2.2 87 5/12/2020
3.2.1 19,521 1/14/2020
3.2.0 8,596 11/23/2019
3.1.2 696 10/25/2019
3.1.1 5,807 7/25/2019
3.1.0 19,182 5/10/2019
3.0.0 23,799 2/14/2019
2.1.0 25,013 9/18/2018
2.0.0 11,569 2/3/2018
1.2.0 611 12/25/2017
1.1.16 526 12/25/2017
1.0.19 615 12/25/2017
1.0.18 465 12/25/2017
1.0.17 517 12/25/2017