Fixed Issue 223.

This commit is contained in:
Michael Möller
2011-05-19 07:22:06 +00:00
parent 98cd3cbf9b
commit 8ed6399a0e
2 changed files with 10 additions and 11 deletions
-11
View File
@@ -37,12 +37,10 @@
using System;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using OpenHardwareMonitor.GUI;
using OpenHardwareMonitor.Hardware;
namespace OpenHardwareMonitor {
public static class Program {
@@ -91,15 +89,6 @@ namespace OpenHardwareMonitor {
if (!IsFileAvailable("OpenHardwareMonitorLib.dll"))
return false;
// check if the OpenHardwareMonitorLib assembly has the correct version
if (Assembly.GetAssembly(typeof(Computer)).GetName().Version !=
Assembly.GetExecutingAssembly().GetName().Version) {
MessageBox.Show(
"The version of the file OpenHardwareMonitorLib.dll is incompatible.",
"Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
return true;
}