diff --git a/Client/Core/SystemCore.cs b/Client/Core/SystemCore.cs index 0f363a7a..caa324b4 100644 --- a/Client/Core/SystemCore.cs +++ b/Client/Core/SystemCore.cs @@ -127,13 +127,7 @@ public static string GetGpu() string Query = "SELECT * FROM Win32_DisplayConfiguration"; ManagementObjectSearcher searcher = new ManagementObjectSearcher(Query); foreach (ManagementObject Mobject in searcher.Get()) - { - foreach (PropertyData property in Mobject.Properties) - { - if (property.Name == "Description") - GPUName = property.Value.ToString(); - } - } + GPUName = Mobject["Description"].ToString(); return (!string.IsNullOrEmpty(GPUName)) ? GPUName : "N/A"; }