29 Commits
Author SHA1 Message Date
Serial95andPhyxionNL 9ba0002de6 Add Information for Gigabyte GA-MA790X-DS4 motherboard and more (#1980)
* 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>
2025-10-24 16:05:12 +02:00
PhyxionNL 1d7b3223c9 Move more to CsWin32 (#1917) 2025-09-30 16:50:44 +02:00
RXGandPhyxionNL 68b4620042 Fix the detection of BIOS date format: "yyyy-mm-dd" (#1248)
* Update SMBios.cs

Fix detect format "yyyy-mm-dd" again

* Update SMBios.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-31 17:54:32 +02:00
Michael SpiegelandPhyxionNL 8ab4def93a Fix NullReferenceException on linux systems where the specified paths don't exist (#1300)
* 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>
2024-07-31 17:30:30 +02:00
Tianqian Zhu 4d6a755c11 Fix memory size calculation with extended size (#1315)
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.
2024-04-19 19:46:30 +02:00
asrulhadi 2cd27d5751 Fix crash GetReport on Linux (#980) 2023-02-20 13:22:13 +01:00
Arnold Vink 253e787d17 Added code to read configured memory speed and voltage from the SMBios. (#932) 2022-12-19 18:40:27 +01:00
RXG 48cad1af44 Update SMBios.cs (#877)
add detect format "yyyy-mm-dd"
2022-11-09 17:20:08 +01:00
PhyxionNL 58cef111a1 Use file-scoped namespaces (#842) 2022-10-09 13:22:57 +02:00
PhyxionNL 3ac329f247 Fix some code analysis issues (#841) 2022-10-09 13:16:31 +02:00
PhyxionNL 38b97e10d0 Update editorconfig + changes (#771) 2022-06-29 19:38:57 +02:00
PhyxionNL 3552e644c5 Add processor characteristics 2022-06-24 13:42:18 +02:00
PhyxionNL 90e6178079 Rename ChassisInformation to SystemEnclosure to follow spec 2022-06-24 13:25:46 +02:00
PhyxionNL a08470be96 Add processor id and handle to SMBios 2022-06-24 11:57:21 +02:00
PhyxionNL 7787da52e0 Add cache handles to SMBios 2022-06-23 20:10:00 +02:00
PhyxionNL 1ebed72040 Add memory type to SMBios 2022-06-23 17:18:55 +02:00
PhyxionNL e7fc7c94bf Revert "missing newline (#716)" (#718)
This reverts commit 86c7c0c399.
2022-04-28 22:50:26 +02:00
aaeria 86c7c0c399 missing newline (#716) 2022-04-28 18:57:35 +02:00
Pomian d3a38bfa9a Fix line break in SMBIOS memory report (#606)
* Fix line break in SMBIOS memory report

* Simplify switch statement
2021-11-24 11:13:13 +01:00
PhyxionNL e2dfddfbf4 Use already existing FirmwareTable instead of WMI 2021-06-22 14:39:19 +02:00
Pomian 694b5db58c Initial internal documentation (#391)
Thanks to @Pomianowski
2021-06-01 13:31:55 +02:00
JokkeandPhyxionNL ede484bfb8 Fix NullReferenceException, if NZXT CAM is running at the same time (#434)
* 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>
2021-05-04 11:56:47 +02:00
Teriand 2ada42f869 Add check and swap wrong bios date format (#432) 2021-04-27 11:27:26 +02:00
Pomian 1506006f4e Memory Device Size in SMBIOS (#342)
* Memory Device Size in SMBIOS

* Update SMBios.cs

* Fix cache associativity
2020-12-09 10:33:08 +01:00
Pomian fe9768c803 Add Processor Cache to SMBios (#333) 2020-11-16 17:58:43 +01:00
Pomian 8e22bb7f54 Update SMBios.cs (#259)
Thanks to @Pomianowski
2020-05-25 11:11:33 +02:00
Phyxion 3cc3d9139c Add support for multiple processor groups.
Merge from upstream.
2020-05-11 13:29:52 +02:00
Phyxion 5bd108167d Restore OHM in copyright statement 2020-02-28 11:39:25 +01:00
Nick Babcock f4fb5ad13b Fix source file names on case sensitive file systems (#192)
Source file names will now match the class names.
2020-01-06 10:24:18 +01:00