Skip to content

Commit

Permalink
get LoadPercentage from CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmahDean committed Mar 3, 2024
1 parent 0d25f5b commit 8a92096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/data/Methods/Hardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static async Task MakeHardwareData()
private static void GetHardwareWmiData()
{
Cpu = GetWmi("Win32_Processor",
"CurrentClockSpeed, Manufacturer, Name, SocketDesignation, NumberOfEnabledCore, ThreadCount").First();
"CurrentClockSpeed, LoadPercentage, Manufacturer, Name, SocketDesignation, NumberOfEnabledCore, ThreadCount").First();
Gpu = GetWmi("Win32_VideoController",
"Description, AdapterRam, CurrentHorizontalResolution, CurrentVerticalResolution, "
+ "CurrentRefreshRate, CurrentBitsPerPixel, DriverVersion, DriverDate");
Expand Down

0 comments on commit 8a92096

Please sign in to comment.