IbanNet 5.7.1

.NET 6.0 .NET Standard 1.6 .NET Framework 4.6.2
dotnet add package IbanNet --version 5.7.1
NuGet\Install-Package IbanNet -Version 5.7.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IbanNet" Version="5.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 5.7.1
#r "nuget: IbanNet, 5.7.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.7.1

// Install IbanNet as a Cake Tool
#tool nuget:?package=IbanNet&version=5.7.1

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("NL91ABNA0417164300");
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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

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.

DTF.Common.V2

Digital Tax Free basic models and abstractions.

IbanNet.DataAnnotations

Data annotations to validate IBAN user input.

IdokladSdk

SDK for iDoklad API

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.7.1 8,366 11/4/2022
5.7.0 13,170 10/9/2022
5.6.2 5,737 10/2/2022
5.6.1 39,640 7/22/2022
5.6.0 9,528 7/9/2022
5.5.1 15,492 6/23/2022
5.5.0 60,658 5/12/2022
5.4.0 142,353 12/31/2021
5.3.2 10,884 12/18/2021
5.3.1 33,486 11/14/2021
5.3.0 588 11/13/2021
5.2.0 4,934 11/10/2021
5.1.0 35,876 9/27/2021
5.0.0 22,707 8/21/2021
5.0.0-beta0001 507 6/17/2021
4.4.3 5,528 8/21/2021
4.4.2 49,894 6/17/2021
4.4.1 5,093 6/13/2021
4.4.0 1,722 6/12/2021
4.3.1 41,088 6/5/2021
4.3.0 238,790 11/27/2020
4.2.0 8,197 11/7/2020
4.1.0 62,936 8/8/2020
4.0.1 125,938 5/12/2020
4.0.0 64,112 2/8/2020
4.0.0-beta0241 588 2/8/2020
4.0.0-beta0227 458 2/8/2020
4.0.0-beta0223 620 2/8/2020
4.0.0-beta0222 601 2/8/2020
4.0.0-beta0204 547 2/6/2020
4.0.0-beta0190 560 1/14/2020
4.0.0-beta0187 606 1/13/2020
4.0.0-beta0186 464 1/13/2020
4.0.0-beta0183 521 1/13/2020
4.0.0-beta0178 15,350 12/30/2019
4.0.0-beta0177 495 12/29/2019
4.0.0-beta0172 557 12/29/2019
3.2.2 650 5/12/2020
3.2.1 38,103 1/14/2020
3.2.0 34,537 11/23/2019
3.1.2 1,347 10/25/2019
3.1.1 14,398 7/25/2019
3.1.0 20,651 5/10/2019
3.0.0 33,902 2/14/2019
2.1.0 26,201 9/18/2018
2.0.0 13,570 2/3/2018
1.2.0 1,168 12/25/2017
1.1.16 1,068 12/25/2017
1.0.19 1,179 12/25/2017
1.0.18 961 12/25/2017
1.0.17 1,082 12/25/2017