
It reads your MAC address and converts it to a keycode. Then the program will ask you a keyode for a licence and checks if these are the same. When they are the same, you have a licence.
On every computer the keycode is different because the MAC addresses are different!!!
Good code for distributing your program if you don't want that it will be used by unregistered users!