From e793fb17b3585ea5f5e7cd6becfe7b2bc4c7b62f Mon Sep 17 00:00:00 2001 From: Urban Date: Fri, 5 Jul 2024 11:46:59 +0200 Subject: [PATCH] Version 100.1.0.1 --- Hardware.Info/Hardware.Info.csproj | 4 ++-- Hardware.Info/Linux/HardwareInfoRetrieval.cs | 2 +- README.md | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Hardware.Info/Hardware.Info.csproj b/Hardware.Info/Hardware.Info.csproj index 37c5cb0..869ae29 100644 --- a/Hardware.Info/Hardware.Info.csproj +++ b/Hardware.Info/Hardware.Info.csproj @@ -9,8 +9,8 @@ Hardware.Info Hardware.Info - 100.1.0.0 - 100.1.0.0 + 100.1.0.1 + 100.1.0.1 Jinjinov Battery, BIOS, CPU - processor, storage drive, keyboard, RAM - memory, monitor, motherboard, mouse, NIC - network adapter, printer, sound card - audio card, graphics card - video card. Hardware.Info is a .NET Standard 2.0 library and uses WMI on Windows, /dev, /proc, /sys on Linux and sysctl, system_profiler on macOS. Copyright (c) Jinjinov 2022 diff --git a/Hardware.Info/Linux/HardwareInfoRetrieval.cs b/Hardware.Info/Linux/HardwareInfoRetrieval.cs index 52fe2a6..8e5acbc 100644 --- a/Hardware.Info/Linux/HardwareInfoRetrieval.cs +++ b/Hardware.Info/Linux/HardwareInfoRetrieval.cs @@ -1161,7 +1161,7 @@ 1680x1050 59.88 lines = processOutput.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries); - foreach (string line in lines.Where(l => l.Contains("VGA compatible controller"))) + foreach (string line in lines.Where(l => l.Contains("VGA compatible controller") || l.Contains("3D controller") || l.Contains("Display controller"))) { string[] split = line.Split(':'); diff --git a/README.md b/README.md index f232dd8..0c92614 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Battery, BIOS, CPU - processor, storage drive, keyboard, RAM - memory, monitor, 1. Include NuGet package from https://www.nuget.org/packages/Hardware.Info - + 2. Call `RefreshAll()` or one of the other `Refresh*()` methods: @@ -227,6 +227,8 @@ Setting `includeNetworkAdapterConfiguration` to `false` has only a small impact ## Version history: +- 100.1.0.1 + - Fixed `GetVideoControllerList` in Linux - thanks to [@NogginBops](https://github.com/NogginBops) - 100.1.0.0 - Fixed `GetDriveList` in Linux - thanks to [@GusanoGris](https://github.com/GusanoGris) - Added `Microsoft.SourceLink.GitHub` - by [@andreas-eriksson](https://github.com/andreas-eriksson)