diff --git a/FanCtrl/Hardware/LHM.cs b/FanCtrl/Hardware/LHM.cs index cb3c06e..1d27767 100644 --- a/FanCtrl/Hardware/LHM.cs +++ b/FanCtrl/Hardware/LHM.cs @@ -52,7 +52,7 @@ public void createTemp(ref List sensorList) int gpuAmdNum = 2; int gpuNvidiaNum = 2; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if (hardwareArray[i].HardwareType == HardwareType.Cpu) { @@ -94,7 +94,7 @@ public void createMotherBoardTemp(ref List sensorList) // Motherboard int num = 1; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if (hardwareArray[i].HardwareType == HardwareType.Cpu || hardwareArray[i].HardwareType == HardwareType.GpuAmd || @@ -141,7 +141,7 @@ public void createFan(ref List fanList) { int fanNum = 1; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if (hardwareArray[i].HardwareType == HardwareType.GpuNvidia || hardwareArray[i].HardwareType == HardwareType.GpuAmd) @@ -179,7 +179,7 @@ public void createControl(ref List controlList) { int fanNum = 1; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if (hardwareArray[i].HardwareType == HardwareType.GpuNvidia || hardwareArray[i].HardwareType == HardwareType.GpuAmd) @@ -219,7 +219,7 @@ public void createGPUFan(ref List fanList) int gpuFanNum = 1; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if ((hardwareArray[i].HardwareType == HardwareType.GpuNvidia && isNvAPIWrapper == false) || (hardwareArray[i].HardwareType == HardwareType.GpuAmd)) @@ -269,7 +269,7 @@ public void createGPUFanControl(ref List controlList) int gpuFanNum = 1; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if ((hardwareArray[i].HardwareType == HardwareType.GpuNvidia && isNvAPIWrapper == false) || (hardwareArray[i].HardwareType == HardwareType.GpuAmd)) @@ -319,7 +319,7 @@ public void createOSDSensor(ref List osdList) { bool isNvAPIWrapper = OptionManager.getInstance().IsNvAPIWrapper; var hardwareArray = mComputer.Hardware; - for (int i = 0; i < hardwareArray.Length; i++) + for (int i = 0; i < hardwareArray.Count; i++) { if (isNvAPIWrapper == true && hardwareArray[i].HardwareType == HardwareType.GpuNvidia) continue; diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 0022e98..ac5db58 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // 기본값으로 할 수 있습니다. [assembly: AssemblyVersion("1.2.1")] [assembly: AssemblyFileVersion("1.2.1")] -[assembly: AssemblyInformationalVersion("1.2.1a")] +[assembly: AssemblyInformationalVersion("1.2.1b")] diff --git a/dll/LibreHardwareMonitorLib.dll b/dll/LibreHardwareMonitorLib.dll index 6a42222..5484ecf 100644 Binary files a/dll/LibreHardwareMonitorLib.dll and b/dll/LibreHardwareMonitorLib.dll differ diff --git a/dll/OpenHardwareMonitorLib.dll b/dll/OpenHardwareMonitorLib.dll index 04e903c..3eb4e85 100644 Binary files a/dll/OpenHardwareMonitorLib.dll and b/dll/OpenHardwareMonitorLib.dll differ