Forum > macOS / Mac OS X

How to Get the UUID?

(1/1)

mdkass:
Hello Experts,

Do you have any Idea how to get the UUID?

Regards.

Phil:
You mean create a UUID?

Maybe CreateGUID in SysUtils?

Thanks.

-Phil

eny:
Or in the IDE pressing Ctrl-Shift-G?

mdkass:
I'm sorry, I think my question was not clear enough.
I'm looking for a unique machine Identifier and one friend advised me to use the hardware UUID  (Unique User ID).

I'm not talking about the GUID.

felipemdc:
You can use TProcess to execute system_profiler and then parse the result:

user-46-113-129-147:~ felipe$ system_profiler
Hardware:

   Hardware Overview:

     Model Name: MacBook
     Model Identifier: MacBook6,1
     Processor Name: Intel Core 2 Duo
     Processor Speed: 2,26 GHz
     Number Of Processors: 1
     Total Number Of Cores: 2
     L2 Cache: XXXXXXX
     Memory: XXXXXXX
     Bus Speed: XXXXXXX
     Boot ROM Version: XXXXXXX
     SMC Version (system): XXXXXXX
     Serial Number (system): XXXXXXX
     Hardware UUID: XXXXXXX
....

Navigation

[0] Message Index

Go to full version