Forum

    • Register
    • Login
    • Search
    • Categories

    Machine ID Format

    General Questions
    6
    12
    264
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • orange
      orange last edited by orange

      With getSystemId(), I am getting a ten digit number for my Windows machine in this format > "W0SU2C9X14"

      Isn't a Machine ID 32 digit code or at least in a longer format than this?

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      ustk 1 Reply Last reply Reply Quote 0
      • M
        marksmith last edited by

        I liked the post

        gb whatsapp download 2021

        1 Reply Last reply Reply Quote 0
        • ustk
          ustk @orange last edited by

          @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#afdd5483bba5e18fbf58a5acb61710eb6

          So 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...

          I can't help pressing F5 in the forum...

          orange 1 Reply Last reply Reply Quote 1
          • orange
            orange @ustk last edited by

            @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.

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            ustk Dan Korneff 2 Replies Last reply Reply Quote 0
            • ustk
              ustk @orange last edited by ustk

              @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 can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 1
              • Christoph Hart
                Christoph Hart last edited by

                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.

                DanH 1 Reply Last reply Reply Quote 1
                • Dan Korneff
                  Dan Korneff @orange last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • DanH
                    DanH @Christoph Hart last edited by

                    Can anyone explain exactly what machine id returns please? I can't match the result Hise gives me with anything on my mac.

                    orange 1 Reply Last reply Reply Quote 0
                    • orange
                      orange @DanH last edited by orange

                      @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.

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

                      DanH 1 Reply Last reply Reply Quote 0
                      • DanH
                        DanH @orange last edited by

                        @orange Thanks. But where does it take the info from? Can I locate the machine id outside of Hise?

                        orange 1 Reply Last reply Reply Quote 0
                        • orange
                          orange @DanH last edited by orange

                          @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.

                          develop Branch / XCode 13.1
                          macOS Monterey / M1 Max

                          DanH 1 Reply Last reply Reply Quote 0
                          • DanH
                            DanH @orange last edited by

                            @orange ok thanks 🙂

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            28
                            Online

                            1.1k
                            Users

                            6.8k
                            Topics

                            62.5k
                            Posts