Package ilcd
Class General

Public Method getSerialNumber

static String getSerialNumber()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
serialNumber serial number

The getSerialNumber() method returns a text string containing the unique serial number of the iLCD module.
Example string which is returned by this method: ID-CILCD-0131185698-DDD7


Example

if ("DH-XADC-00131154001-0566".equals(General.getSerialNumber()))

{

   Draw.writeText("This serial number is correct!");

}

else

{

   Draw.writeText("This serial nuber is wrong!");

   Draw.writeText("The correct serial number of this "

                + "device is: " + General.getSerialNumber());

}

If the second expression evaluates to true, the serial number of the iLCD module is: DH-XADC-00131154001-0566.