Looking for a low resource solution. Maybe a license file that has machine ID information, which I think is common.
Reason for my question: Some customers say they need this because they want to install on a datacenter without internet.
It depends a lot on which language you want to do it with. You're going the right way. You have to keep a file with the information of the computer beforehand