Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 819 Bytes

File metadata and controls

26 lines (22 loc) · 819 Bytes

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 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 Link

NuGet

Inspiration

This plugin is inspired by thai-id-validator.