serial number and date
Posted on 2012-03-28
i have created a tsv file that contains two fields per line, to use as a licence file
the first is a Mac address, the second is a numeric date of expiry
I want to compare the mac address with the list, if it is in the list, then check the date to see if it is less than today, if it is then run the program, if not then lock the program
also if it is not in the list lock the program
can somebody please help me with some code to achieve the above.