Multipetros.Validation  1.0
Validation for greek VIES VAT IDs, greek social IDs and Luhn formula based numbers
Multipetros.Validation.SocialidGr Class Reference

This class provide static methods for validation checking of the greek social id, knwon as AMKA, AMKA have 11 digits. The first 6 represent the birthdate of the owner. The last digit is validation check digit as implemented by the Lunh formula. Notice: This class checks only if the social id is valid, not if exists and corresponds to a natural person. More...

Static Public Member Functions

static bool IsValid (string sidNum)
 The greek social id number have 11 digts and use's the Luhn formula. The first 6 digits represent the owner's date of birth.
This method check the social id for both, valid birth date and Luhn format.
 

Detailed Description

This class provide static methods for validation checking of the greek social id, knwon as AMKA, AMKA have 11 digits. The first 6 represent the birthdate of the owner. The last digit is validation check digit as implemented by the Lunh formula. Notice: This class checks only if the social id is valid, not if exists and corresponds to a natural person.

Member Function Documentation

static bool Multipetros.Validation.SocialidGr.IsValid ( string  sidNum)
static

The greek social id number have 11 digts and use's the Luhn formula. The first 6 digits represent the owner's date of birth.
This method check the social id for both, valid birth date and Luhn format.

Parameters
sidNumSocial id number
Returns
True if is valid, else false.