Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 585 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 585 Bytes

dmi

Go - DMI table decoder

// DMI info
// BIOS[Vendor,Version,Release Date] System Information[Manufacturer,Product Name,Version,Serial Number,UUID]
// Base Board Information[Manufacturer,Product Name,Version,Serial Number,Asset Tag,Type]
// Chassis Information[Manufacturer,Type,Version,Serial Number,Asset Tag,Boot-up State,Power Supply State,Thermal State,Security Status,Number Of Power Cords]
dmi.Init()
dmiBios := dmi.GetBIOSInformation()
dmiSystem := dmi.GetSystemInformation()
dmiBaseboard := dmi.GetBaseboardInformation()
dmiChassis := dmi.GetChassisInformation()