[Bugfix] Allow GET access to Computer SMBios table (#579)
* Allow GET access to Computer SMBios table * Update Computer.cs Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
This commit is contained in:
@@ -76,6 +76,20 @@ namespace LibreHardwareMonitor.Hardware
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Contains computer information table read in accordance with <see href="https://www.dmtf.org/standards/smbios">System Management BIOS (SMBIOS) Reference Specification</see>.
|
||||
/// </summary>
|
||||
public SMBios SMBios
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!_open)
|
||||
throw new InvalidOperationException("SMBIOS cannot be accessed before opening.");
|
||||
|
||||
return _smbios;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether collecting information about <see cref="HardwareType.Cpu"/> devices should be enabled and updated.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user