Skip to content

alipicakcii/smbios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

SMBIOS

Usage

SMBIOS smbios;
Eps *eps = smbios.get_eps();
printf("SMBIOS anochor string %s\n", eps->anchor_string);
printf("SMBIOS version %d.%d\n", eps->major, eps->minor);

// bios information
SmBiosStructure * current_struct;
current_struct = smbios.next_structure();
auto *bios_info = static_cast<BiosInformation*>(current_struct);
printf("type %d\n", bios_info->header.type);
// other props print data

// print string 
smbios.print_string();

// system information
current_struct = smbios.next_structure();
auto *system_info = static_cast<SystemInformation*>(current_struct);
printf("type %d\n", system_info->header.type);
// other props print data

// print string 
smbios.print_string();



About

smbios

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages