Machine ID
-
Is there a way to get the machine ID via HISE script? I thought I read something about this before but can't find it now, or I imagined it.
-
@d-healey I think this one? https://forum.hise.audio/topic/3196/getting-todays-date-in-hise/11
-
So
local machineId = FileSystem.getSystemId();
-
Thanks, that was the one!
-
Be aware that the ID changes after some Windows updates which is rather annoying but I haven‘t found a better way to identify a system yet.
-
@Christoph-Hart said in Machine ID:
Be aware that the ID changes after some Windows updates which is rather annoying but I haven‘t found a better way to identify a system yet.
Is there a good workaround for this in terms of licensing? If I encrypt the license file with the machine ID, does the user just need to reactivate with every Windows update?
My main concern is that I set a limit on the number of activations per serial.
-
Yes that is the case. It's not as bad as you would think though, just happens once every two years or so.
The current implementation uses the unique file identifier of the Windows directory, but you could also just take a hash of all MAC addresses. They don't change with windows updates, but it might be less secure as people could emulate other MAC adresses.
-
you could also just take a hash of all MAC addresses.
Wouldn't that change if someone replaced their network card/dongle or added an extra one?