* Add Info for Gigabyte GA-MA790X-DS4 and some Typo corrections
* Fix casing of 'VBAT' to 'VBat' in SuperIOHardware
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* feat(SMBios): Handle null reference exception when accessing Board information
Changed the ReadSysFs method in the class SMBios to return an empty string instead of null when unable to find the needed paths on Linux, preventing NullReference Exception when getting the manufacturer and model in the Motherboard class.
* fix(LMSensors): Prevent exception in LMSensors constructor
Introduced string array subDirectories which is initialized empty. Added checking if the hwmon directory exists otherwise the array subDirectories will stay empty so it does not throw an exception if it can't find the path.
* Simplify.
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
According to the specification v.3.3.0, Chapter 7.18, Table 74,
the Size row:
> If the size is 32 GB-1 MB or greater, the
> field value is 7FFFh and the actual size is stored in
> the Extended Size field.
Therefore the Extended Size should replace the value of Size if
the latter equals 0x7FFF. The Extended Size should not be added
to Size.
Also, since Extended Size is DWORD, Size should not be ushort.
* Fix NullReferenceException, if NZXT CAM is running at the same time
* Remove unnecessary variable declaration
Remove never used variable.
* Update SMBios.cs
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>