thai-national-id-format-validator 1.2.0

.NET 6.0
dotnet tool install --global thai-national-id-format-validator --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local thai-national-id-format-validator --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=thai-national-id-format-validator&version=1.2.0
nuke :add-package thai-national-id-format-validator --version 1.2.0

Thai National ID Format Validator Library for .NET

For example the Thai national ID format validation in C#

  • Written in C# .NET Core 6.0

How to use?

  1. Import the Thai national ID format validator to your project.
using using thai_national_id_format_validator;
  1. Thai National ID Card Number Checking
bool isValid = ThaiNationalIdFormat.IsValid("1234567891012");
  1. Thai national ID Card Numbers Generating.
String num = ThaiNationalIdFormat.GenerateThaiNationalID();

Demo

Screenshot

NuGet

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.0 455 10/3/2022
1.1.0 474 9/15/2022
1.0.0 624 9/15/2022

- Add a new feature for generating valid Thai national ID card numbers.