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 and Polyglot Notebooks. 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 19,822 2/2/2023
5.7.2 22,442 1/1/2023
5.7.1 56,627 11/4/2022
5.7.0 26,525 10/9/2022
5.6.2 16,249 10/2/2022
5.6.1 65,091 7/22/2022
5.6.0 11,644 7/9/2022
5.5.1 18,050 6/23/2022
5.5.0 89,483 5/12/2022
5.4.0 205,916 12/31/2021
5.3.2 11,369 12/18/2021
5.3.1 39,951 11/14/2021
5.3.0 693 11/13/2021
5.2.0 5,499 11/10/2021
5.1.0 40,473 9/27/2021
5.0.0 24,264 8/21/2021
5.0.0-beta0001 518 6/17/2021
4.4.3 6,233 8/21/2021
4.4.2 53,336 6/17/2021
4.4.1 5,823 6/13/2021
4.4.0 1,798 6/12/2021
4.3.1 42,774 6/5/2021
4.3.0 251,185 11/27/2020
4.2.0 9,918 11/7/2020
4.1.0 64,770 8/8/2020
4.0.1 134,984 5/12/2020
4.0.0 74,022 2/8/2020
4.0.0-beta0241 596 2/8/2020
4.0.0-beta0227 466 2/8/2020
4.0.0-beta0223 628 2/8/2020
4.0.0-beta0222 609 2/8/2020
4.0.0-beta0204 555 2/6/2020
4.0.0-beta0190 568 1/14/2020
4.0.0-beta0187 613 1/13/2020
4.0.0-beta0186 473 1/13/2020
4.0.0-beta0183 530 1/13/2020
4.0.0-beta0178 16,136 12/30/2019
4.0.0-beta0177 504 12/29/2019
4.0.0-beta0172 564 12/29/2019
3.2.2 860 5/12/2020
3.2.1 38,608 1/14/2020
3.2.0 42,477 11/23/2019
3.1.2 1,398 10/25/2019
3.1.1 19,450 7/25/2019
3.1.0 20,944 5/10/2019
3.0.0 34,223 2/14/2019
2.1.0 26,298 9/18/2018
2.0.0 13,770 2/3/2018
1.2.0 1,211 12/25/2017
1.1.16 1,111 12/25/2017
1.0.19 1,224 12/25/2017
1.0.18 998 12/25/2017
1.0.17 1,133 12/25/2017