KzIdentifiers 1.0.0
dotnet add package KzIdentifiers --version 1.0.0
NuGet\Install-Package KzIdentifiers -Version 1.0.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="KzIdentifiers" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KzIdentifiers" Version="1.0.0" />
<PackageReference Include="KzIdentifiers" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KzIdentifiers --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: KzIdentifiers, 1.0.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.
#addin nuget:?package=KzIdentifiers&version=1.0.0
#tool nuget:?package=KzIdentifiers&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
KzIdentifiers Documentation
Overview
KzIdentifiers
is a .NET library for parsing and validating Kazakhstan Individual Identification Numbers (IIN).
Methods
ValidateIin
Validates the provided IIN.
public static bool ValidateIin(string iin)
Parameters
iin
(string): The Individual Identification Number to validate.
Returns
true
if the IIN is valid.false
if the IIN is invalid.
ParseIin
Parses detailed information from the provided IIN.
public static IinInfo ParseIin(string iin)
Parameters
iin
(string): The Individual Identification Number to parse.
Returns
IinInfo
object containing parsed data from the IIN.
Class: IinInfo
Represents detailed information parsed from an IIN.
Properties
IsValid
(bool): Indicates if the parsed IIN is valid.Citizenship
(enum): Citizenship status derived from the IIN.BirthDate
(DateTime?): The birth date extracted from the IIN. Nullable if extraction fails.Gender
(enum): The gender information derived from the IIN.
Usage Example
bool isValid = KzIdentifier.ValidateIin("990101350123");
// isValid == true
IinInfo info = KzIdentifier.ParseIin("990101350123");
// info.IsValid == true
// info.Citizenship, info.BirthDate, info.Gender contain detailed parsed data
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 102 | 3/30/2025 |