Tedd.Fodselsnummer 1.0.0

Validates and extracts information from Norweigan social security numbers (fødselsnummer, personnummer).

Install-Package Tedd.Fodselsnummer -Version 1.0.0
dotnet add package Tedd.Fodselsnummer --version 1.0.0
<PackageReference Include="Tedd.Fodselsnummer" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tedd.Fodselsnummer --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Tedd.Fodselsnummer

C#/.Net parser for fødselsnummer / Norwegian national identity number

Example

var result = FodselsnummerValidator.Validate("19121950041");
if (!result.Success)
{
    Console.WriteLine(result.ErrorMessage);
}
else
{
    Console.WriteLine($"Fødselsnummer type: {result.Type}");
    Console.WriteLine($"Kjønn: {result.Gender}");
    Console.WriteLine($"Fødselsdato: {result.Birthday}");
}

Tedd.Fodselsnummer

C#/.Net parser for fødselsnummer / Norwegian national identity number

Example

var result = FodselsnummerValidator.Validate("19121950041");
if (!result.Success)
{
    Console.WriteLine(result.ErrorMessage);
}
else
{
    Console.WriteLine($"Fødselsnummer type: {result.Type}");
    Console.WriteLine($"Kjønn: {result.Gender}");
    Console.WriteLine($"Fødselsdato: {result.Birthday}");
}

  • .NETCoreApp 2.0

    • No dependencies.
  • .NETCoreApp 2.1

    • No dependencies.
  • .NETCoreApp 2.2

    • No dependencies.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 1.2

  • .NETStandard 1.3

  • .NETStandard 1.4

  • .NETStandard 1.5

  • .NETStandard 1.6

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 54 12/19/2019