IbanNet 5.3.1

Install-Package IbanNet -Version 5.3.1
dotnet add package IbanNet --version 5.3.1
<PackageReference Include="IbanNet" Version="5.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 5.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IbanNet, 5.3.1"
#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.3.1

// Install IbanNet as a Cake Tool
#tool nuget:?package=IbanNet&version=5.3.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.

Additionally, IbanNet provides:

  • the Iban primitive type, which can be used as a drop in replacement for a string in your domain.
  • a builder to construct IBAN's from a Basic Bank Account Number (BBAN).
  • a generator to assist with (unit) testing.

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
}

Other info

Contributions

Please check out the contribution guidelines.

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.DependencyInjection.ServiceProvider

Microsoft.Extensions.DependencyInjection integration for IbanNet; IbanNet provides an IBAN validator and parser.

IbanNet.DataAnnotations

Data annotations to validate IBAN user input.

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.3.1 2,977 11/14/2021
5.3.0 200 11/13/2021
5.2.0 1,498 11/10/2021
5.1.0 15,037 9/27/2021
5.0.0 11,329 8/21/2021
5.0.0-beta0001 448 6/17/2021
4.4.3 1,018 8/21/2021
4.4.2 29,789 6/17/2021
4.4.1 2,767 6/13/2021
4.4.0 1,340 6/12/2021
4.3.1 25,930 6/5/2021
4.3.0 172,521 11/27/2020
4.2.0 5,947 11/7/2020
4.1.0 50,429 8/8/2020
4.0.1 89,612 5/12/2020
4.0.0 32,031 2/8/2020
4.0.0-beta0241 530 2/8/2020
4.0.0-beta0227 406 2/8/2020
4.0.0-beta0223 571 2/8/2020
4.0.0-beta0222 549 2/8/2020
4.0.0-beta0204 492 2/6/2020
4.0.0-beta0190 498 1/14/2020
4.0.0-beta0187 550 1/13/2020
4.0.0-beta0186 408 1/13/2020
4.0.0-beta0183 462 1/13/2020
4.0.0-beta0178 11,331 12/30/2019
4.0.0-beta0177 440 12/29/2019
4.0.0-beta0172 499 12/29/2019
3.2.2 393 5/12/2020
3.2.1 33,603 1/14/2020
3.2.0 13,866 11/23/2019
3.1.2 1,079 10/25/2019
3.1.1 9,342 7/25/2019
3.1.0 20,050 5/10/2019
3.0.0 32,549 2/14/2019
2.1.0 25,743 9/18/2018
2.0.0 12,624 2/3/2018
1.2.0 875 12/25/2017
1.1.16 782 12/25/2017
1.0.19 880 12/25/2017
1.0.18 715 12/25/2017
1.0.17 780 12/25/2017