IbanNet 3.1.0

Provides an IBAN validator for verifying IBAN's.

There is a newer version of this package available.
See the version list below for details.
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.
#r "nuget: IbanNet, 3.1.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

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

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.3.0 23,722 11/27/2020
4.2.0 3,185 11/7/2020
4.1.0 32,992 8/8/2020
4.0.1 44,300 5/12/2020
4.0.0 24,355 2/8/2020
4.0.0-beta0241 303 2/8/2020
4.0.0-beta0227 240 2/8/2020
4.0.0-beta0223 365 2/8/2020
4.0.0-beta0222 330 2/8/2020
4.0.0-beta0204 329 2/6/2020
4.0.0-beta0190 336 1/14/2020
4.0.0-beta0187 275 1/13/2020
4.0.0-beta0186 238 1/13/2020
4.0.0-beta0183 305 1/13/2020
4.0.0-beta0178 8,569 12/30/2019
4.0.0-beta0177 279 12/29/2019
4.0.0-beta0172 329 12/29/2019
3.2.2 171 5/12/2020
3.2.1 24,826 1/14/2020
3.2.0 10,040 11/23/2019
3.1.2 836 10/25/2019
3.1.1 7,575 7/25/2019
3.1.0 19,543 5/10/2019
3.0.0 27,510 2/14/2019
2.1.0 25,268 9/18/2018
2.0.0 11,989 2/3/2018
1.2.0 731 12/25/2017
1.1.16 648 12/25/2017
1.0.19 735 12/25/2017
1.0.18 581 12/25/2017
1.0.17 635 12/25/2017
Show less