How to get CPU serial number using HISE?
-
-
@ustk Got it sorted. Sending to beta for testing now.
-
@Christoph-Hart @ustk Confirmed working:
It requires 2 new files:
juce_Span.h
juce_EnumHelpers.hand edits to:
juce_core.h
juce_win32_SystemStats.cpp
juce_SystemStats.cpp
juce_OnlineUnlockStatus.cpp -
@Dan-Korneff Hey buddy, sorry to bother you, I don't know what's going on with GitLab, I can't see your code on GitLab, will you publish it on GitHub? Or is there another way for me to get it? I will be very grateful
-
@CatABC I set the repo back to private.
Here's a link to the files:
https://hub.korneffaudio.com/index.php/s/M6kgXeaZ9BstR7Q
This will replace the existing method with the new one. No need to keep the old one since it's flawed. -
@Dan-Korneff Thank you so much! I don't know how to thank you, you are my big brother, hahahaha
-
@Dan-Korneff I used your file, but the generated machine code is the same as the original one. I'm not sure if this is normal. Could you give me an answer?
-
@CatABC You have to enable this setting in projucer and rebuild HISE:
Now HISE will use the new code to gather system IDs.
Then you need to set JUCE_USE_BETTER_MACHINE_IDS=1 in your project so the exported plugin references the correct system ID.
-
@Dan-Korneff well,I understand!thanks bro!
-
@Dan-Korneff Hello Dan, after compiling your C++ code, I found a problem. When a new display device is connected, the machine code will change. I wonder if you have this problem?
-
@CatABC said in How to get CPU serial number using HISE?:
Hello Dan, after compiling your C++ code, I found a problem. When a new display device is connected, the machine code will change. I wonder if you have this problem?
I haven't seen this yet.