IbanNet 5.1.0

Install-Package IbanNet -Version 5.1.0
dotnet add package IbanNet --version 5.1.0
<PackageReference Include="IbanNet" Version="5.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 5.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IbanNet, 5.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IbanNet as a Cake Addin
#addin nuget:?package=IbanNet&version=5.1.0

// Install IbanNet as a Cake Tool
#tool nuget:?package=IbanNet&version=5.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(IbanRegistry.Default);
bool success = parser.TryParse("NL91 ABNA 0417 1643 00", out iban);
if (success)
{
    Console.WriteLine(iban.ToString(IbanFormat.Obfuscated)); // XXXXXXXXXXXXXX4300
}

v5.1.0

  • Added JSON converter support for System.Text.Json to the Iban type (>= .NET 5 only)
  • Added iban.IsQrIban() extension method. A Swiss or Liechtenstein QR-IBAN must have a valid QR-IID, i.e. the bank number must be within the [30000, 31999] range.

NuGet packages (6)

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.

IdokladSdk

SDK for iDoklad API

IbanNet.DependencyInjection.Autofac

Autofac IoC container integration for IbanNet; IbanNet provides an IBAN validator and parser.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.1.0 4,029 9/27/2021
5.0.0 8,642 8/21/2021
5.0.0-beta0001 330 6/17/2021
4.4.3 484 8/21/2021
4.4.2 23,978 6/17/2021
4.4.1 2,358 6/13/2021
4.4.0 1,022 6/12/2021
4.3.1 20,106 6/5/2021
4.3.0 155,839 11/27/2020
4.2.0 5,424 11/7/2020
4.1.0 48,682 8/8/2020
4.0.1 81,949 5/12/2020
4.0.0 30,457 2/8/2020
4.0.0-beta0241 415 2/8/2020
4.0.0-beta0227 340 2/8/2020
4.0.0-beta0223 479 2/8/2020
4.0.0-beta0222 452 2/8/2020
4.0.0-beta0204 427 2/6/2020
4.0.0-beta0190 436 1/14/2020
4.0.0-beta0187 398 1/13/2020
4.0.0-beta0186 334 1/13/2020
4.0.0-beta0183 398 1/13/2020
4.0.0-beta0178 10,903 12/30/2019
4.0.0-beta0177 375 12/29/2019
4.0.0-beta0172 432 12/29/2019
3.2.2 288 5/12/2020
3.2.1 32,295 1/14/2020
3.2.0 13,506 11/23/2019
3.1.2 959 10/25/2019
3.1.1 9,048 7/25/2019
3.1.0 19,915 5/10/2019
3.0.0 32,355 2/14/2019
2.1.0 25,589 9/18/2018
2.0.0 12,500 2/3/2018
1.2.0 829 12/25/2017
1.1.16 741 12/25/2017
1.0.19 831 12/25/2017
1.0.18 669 12/25/2017
1.0.17 732 12/25/2017