This utility class provides methods to retrieve hardware information using wmic
commands.
// Example usage to get baseboard information
var baseBoardInfo = HardwareUtil.GetBaseBoardPropertyValue(BaseBoard.SerialNumber);
Console.WriteLine($"Baseboard Serial Number: {baseBoardInfo}");
Returns the value of the specified baseboard property.
Returns the value of the specified CPU property.
Returns the value of the specified disk drive property for the given index.
Returns the value of the specified BIOS property.
Returns the value of the specified OS property.
Returns the value of the specified memory chip property.