Program.cs
changeset 291 61c3d984fb2d
parent 286 48d7e8d6c0db
child 344 3145aadca3d2
     1.1 --- a/Program.cs	Wed May 18 19:58:57 2011 +0000
     1.2 +++ b/Program.cs	Thu May 19 07:22:06 2011 +0000
     1.3 @@ -37,12 +37,10 @@
     1.4  
     1.5  using System;
     1.6  using System.IO;
     1.7 -using System.Reflection;
     1.8  using System.Text;
     1.9  using System.Threading;
    1.10  using System.Windows.Forms;
    1.11  using OpenHardwareMonitor.GUI;
    1.12 -using OpenHardwareMonitor.Hardware;
    1.13  
    1.14  namespace OpenHardwareMonitor {
    1.15    public static class Program {
    1.16 @@ -91,15 +89,6 @@
    1.17        if (!IsFileAvailable("OpenHardwareMonitorLib.dll"))
    1.18          return false;
    1.19  
    1.20 -      // check if the OpenHardwareMonitorLib assembly has the correct version
    1.21 -      if (Assembly.GetAssembly(typeof(Computer)).GetName().Version !=
    1.22 -        Assembly.GetExecutingAssembly().GetName().Version) {
    1.23 -        MessageBox.Show(
    1.24 -          "The version of the file OpenHardwareMonitorLib.dll is incompatible.", 
    1.25 -          "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    1.26 -        return false;
    1.27 -      }
    1.28 -
    1.29        return true;
    1.30      }
    1.31