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