In the TextBox Change Event of the TextBox where you want the user to enter the IMEI code type the following code. The reason I am writing this article is I had to develop a application for one of my client who was a mobile dealer and he had a requirement to check the IMEI of the mobiles he takes for sales or services.īelow is the code to Check a Valid IMEI code in VB.NET To make the sum divisible by 10, we set ? = 3, so the IMEI is. Starting from the right, double a digit every second digits (e.g., 8 ? 16).Ĭonversely, one can calculate the IMEI by choosing the check digit that would give a sum divisible by 10.
The Logic behind identifying a correct IMEI Code is very simple.ĪAAAAAAA = Type Allocation Code - The Type Allocation Code is an 8-digit number that identifies a particular model of wireless telephone for use on a GSM wireless network.Ĭ -The last number of the IMEI is a check digit calculated using the Luhn algorithm. import java.io.IMEI ( International Mobile Equipment Identity) Code is a unique 15 Digit number which is usually found printed on the back side of the GSM/CDMA mobile phones battery. Conversely, one can calculate the IMEI by choosing the check digit that would give a sum divisible by 10. It is based on the algorithm outlined above.
Program to check if a given IMEI number is valid or not is given below. If the final sum is completely divisible by 10, then the entered IMEI number is valid else not.Example, if 8 * 2 = 16, then 7(=6 + 1) will be added to the sum. If double of a digit comes out to be a two-digit number, then add those digits.While the 1st, 3rd, 5th digits are added as is. That is, when you start from right, double 2nd, 4th, 6th digits and so on. A validation type is an object that can be used to validate Tcl values of a. Double every alternate digit and add it to sum. This package implements a snit validation type for an IMEI. After checking your Samsung IMEI number you will receive the following information: - when does your Samsung warranty end - is it an original Samsung device - in what country is your warranty supported - what is the exact model of your mobile. If you dont know if your Samsung is still under a warranty Find out if your Samsung is an original product.
Start from the right of the number(that is, unit digit). Added ‘Check AppleCare Status’ link for valid Apple IMEI Fixed bug causing Make/Model to not update on ‘Validate’ Added local and remote versions to ‘Update’ check Updated README.txt Using IMEIDB Database v Various code optimizations Detects 26,700 mobile devices. ModelCheck validation: In most cases we are able to validate the manufacturer and model of the device from the serial number you enter. Free warranty check for all Samsung models.Before check Valid Phone information, you must need your mobile.