This requires adding a new implementation of IHardwareInfoProvider. https://github.com/Jinjinov/Hardware.Info might be interesting. It's probably just easier to use wineconsole.
| Name |
Value (Windows) |
Method (Windows) |
Method (Linux) |
Value (Linux) |
Notes |
Win32_BaseBoard Manufacturer |
ASRock |
WMI |
cat /sys/class/dmi/id/board_vendor |
ASRock |
|
Win32_BaseBoard SerialNumber |
(22 white spaces) |
WMI |
cat /sys/class/dmi/id/board_serial |
(empty string) |
Only readable by root |
Win32_BIOS Manufacturer |
American Megatrends Inc. |
WMI |
cat /sys/class/dmi/id/bios_vendor |
American Megatrends Inc. |
|
Win32_BIOS SerialNumber |
To Be Filled By O.E.M. |
WMI |
cat /sys/class/dmi/id/product_serial |
To Be Filled By O.E.M. |
Only readable by root |
hex string of the Serial Number of the C:\ drive |
7CB7433E |
GetVolumeInformationW |
? |
? |
|
Win32_VideoController PNPDeviceId |
PCI\VEN_10DE&DEV_2486&SUBSYS_147A10DE&REV_A1\4&2283F625&0&0019 |
WMI |
? |
? |
|
Win32_Processor Manufacturer |
AuthenticAMD |
WMI |
grep -m1 ^"vendor_id" /proc/cpuinfo | awk '{ print $3 }' |
AuthenticAMD |
|
Win32_Processor ProcessorId |
178BFBFF00A20F10 |
WMI |
? |
? |
|
Win32_Processor Name |
AMD Ryzen 7 5800X 8-Core Processor (total length: 47, has 13 white spaces at the end) |
WMI |
grep -m1 ^"model name" /proc/cpuinfo | awk '{ split($0,a,": ") ; print a[2] }' |
AMD Ryzen 7 5800X 8-Core Processor |
Linux value is trimmed |
This requires adding a new implementation of
IHardwareInfoProvider. https://github.com/Jinjinov/Hardware.Info might be interesting. It's probably just easier to usewineconsole.Win32_BaseBoard ManufacturerASRockcat /sys/class/dmi/id/board_vendorASRockWin32_BaseBoard SerialNumber(22 white spaces)cat /sys/class/dmi/id/board_serialrootWin32_BIOS ManufacturerAmerican Megatrends Inc.cat /sys/class/dmi/id/bios_vendorAmerican Megatrends Inc.Win32_BIOS SerialNumberTo Be Filled By O.E.M.cat /sys/class/dmi/id/product_serialTo Be Filled By O.E.M.rootC:\drive7CB7433EGetVolumeInformationWWin32_VideoController PNPDeviceIdPCI\VEN_10DE&DEV_2486&SUBSYS_147A10DE&REV_A1\4&2283F625&0&0019Win32_Processor ManufacturerAuthenticAMDgrep -m1 ^"vendor_id" /proc/cpuinfo | awk '{ print $3 }'AuthenticAMDWin32_Processor ProcessorId178BFBFF00A20F10Win32_Processor NameAMD Ryzen 7 5800X 8-Core Processor(total length: 47, has 13 white spaces at the end)grep -m1 ^"model name" /proc/cpuinfo | awk '{ split($0,a,": ") ; print a[2] }'AMD Ryzen 7 5800X 8-Core Processor