I found out one class IORegistryEntry
in IOKit. It has APIs to get the values of the properties. I am trying to use this class, but I am not able to compile.
I have added IOKit and Kernel Frameworks. It throws an compilation error saying:
IORegistryEntry not declared.
If anybody knows how to compile, please let me know.
Have you included the relevant header file?
#include <IOKit/IORegistryEntry.h>
If you have and you're still getting errors, please provide more details.