summaryrefslogtreecommitdiffstats
path: root/win/C#/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r--win/C#/Program.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs
index ae9edec6f..6f71b80f0 100644
--- a/win/C#/Program.cs
+++ b/win/C#/Program.cs
@@ -30,10 +30,6 @@ namespace Handbrake
[STAThread]
static void Main()
{
- // Development Code Expiry.
- // Remember to comment out on public release!!!
- //if (DateTime.Now > DateTime.Parse("2008/02/25", new CultureInfo("en-US"))) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; }
-
// Check the system meets the system requirements.
Boolean launch = true;
try
@@ -45,16 +41,6 @@ namespace Handbrake
MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n" + "Your screen is running at: " + scr.Bounds.Width.ToString() + "x" + scr.Bounds.Height.ToString() + " \nScreen resolution is too Low. Must be 1024x720 or greater", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
launch = false;
}
-
- // Make sure the system has enough RAM. 384MB or greater
- Functions.SystemInfo info = new Functions.SystemInfo();
- uint memory = info.TotalPhysicalMemory();
-
- if (memory < 256)
- {
- MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n Insufficient RAM. 384MB or greater required. You have: " + memory.ToString() + "MB", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- launch = false;
- }
}
catch (Exception exc)
{
@@ -69,9 +55,7 @@ namespace Handbrake
Application.Run(new frmMain());
}
else
- {
Application.Exit();
- }
}
}