Machine ID Format
-
I liked the post
-
@orange The systemID is based on the
getLocalMachineIDs
function from Juce.
But the Hise API only takes the 1st element from the returned array which corresponds to a short representation of the machine. the other elements in the array are the individual components or MAC addresses.Here's an explanation for the
getLocalMachineIDs
:
https://docs.juce.com/master/structOnlineUnlockStatus_1_1MachineIDUtilities.html#afdd5483bba5e18fbf58a5acb61710eb6So it should be possible to concatenate all strings into a longer one, but if this is a good thing to do I don't know...
-
@ustk said in Machine ID Format:
Hise API only takes the 1st element from the returned array which corresponds to a short representation of the machine.
Hise api says it's unique, but I'm curious if it's unique enough or not.
By the way, in Windows > Command Prompt > ipconfig /all is the way to learn MAC address. But this ID is not matching with any of these.
-
@orange I don't know if two exactly identical computers returns the same hash…
It is normal it doesn't matches any ID, even more the Hise api since the hash it returns is a combination of everything, and is encoded... even if from the juce function you take another element in the array that corresponds to a specific component, I'm not sure you can find similarities with a real MAC address number because it is hashed.
So absolutely unique? Not sure…
Unique enough? Certainly... -
I think it also takes the modification date of the Windows folder and / or certain system files into account so it‘s not just the hardware.
-
This post is deleted! -
Can anyone explain exactly what machine id returns please? I can't match the result Hise gives me with anything on my mac.
-
@DanH Machine ID is a device specific code. So you can't replicate it on the different computers or Operating systems. W........ format is for Windows. M........ format is for macOS.
-
@orange Thanks. But where does it take the info from? Can I locate the machine id outside of Hise?
-
@DanH Like previously mentioned on this thread above, it is an hashed & modified code (combination of hardware, OS, system files...etc.) and its algorithm comes from JUCE.
I don't think it can be located on anywhere outside Hise.
-
@orange ok thanks :)