How to read the system UUID in C++

Aug 10, 2015 at 10:18am
Hi, I know that we can use "dmidecode -t system | grep "UUID"" in terminal to get the UUID of system in Ubuntu, but how to read the same system UUID through C++?
Aug 10, 2015 at 11:44am
The dmidecode has GPL licence and thus its source code must be publicly available. There you should find the (C language) system function calls that do retrieve the data.
Topic archived. No new replies allowed.