IbanNet 5.8.0

.NET 6.0 .NET Standard 1.6 .NET Framework 4.6.2
dotnet add package IbanNet --version 5.8.0
NuGet\Install-Package IbanNet -Version 5.8.0
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.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet --version 5.8.0
#r "nuget: IbanNet, 5.8.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.8.0

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

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481
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.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 1.6

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

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.8.0 281 2/2/2023
5.7.2 11,014 1/1/2023
5.7.1 40,978 11/4/2022
5.7.0 21,620 10/9/2022
5.6.2 10,352 10/2/2022
5.6.1 55,207 7/22/2022
5.6.0 10,739 7/9/2022
5.5.1 16,832 6/23/2022
5.5.0 78,044 5/12/2022
5.4.0 178,963 12/31/2021
5.3.2 11,139 12/18/2021
5.3.1 36,907 11/14/2021
5.3.0 679 11/13/2021
5.2.0 5,293 11/10/2021
5.1.0 38,327 9/27/2021
5.0.0 23,811 8/21/2021
5.0.0-beta0001 512 6/17/2021
4.4.3 6,011 8/21/2021
4.4.2 51,432 6/17/2021
4.4.1 5,356 6/13/2021
4.4.0 1,786 6/12/2021
4.3.1 42,531 6/5/2021
4.3.0 246,320 11/27/2020
4.2.0 9,046 11/7/2020
4.1.0 63,956 8/8/2020
4.0.1 131,151 5/12/2020
4.0.0 69,156 2/8/2020
4.0.0-beta0241 591 2/8/2020
4.0.0-beta0227 461 2/8/2020
4.0.0-beta0223 621 2/8/2020
4.0.0-beta0222 603 2/8/2020
4.0.0-beta0204 550 2/6/2020
4.0.0-beta0190 562 1/14/2020
4.0.0-beta0187 608 1/13/2020
4.0.0-beta0186 466 1/13/2020
4.0.0-beta0183 523 1/13/2020
4.0.0-beta0178 15,881 12/30/2019
4.0.0-beta0177 498 12/29/2019
4.0.0-beta0172 559 12/29/2019
3.2.2 693 5/12/2020
3.2.1 38,416 1/14/2020
3.2.0 38,496 11/23/2019
3.1.2 1,390 10/25/2019
3.1.1 16,880 7/25/2019
3.1.0 20,854 5/10/2019
3.0.0 34,086 2/14/2019
2.1.0 26,282 9/18/2018
2.0.0 13,730 2/3/2018
1.2.0 1,194 12/25/2017
1.1.16 1,095 12/25/2017
1.0.19 1,204 12/25/2017
1.0.18 981 12/25/2017
1.0.17 1,107 12/25/2017