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.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs
index 25a4d415d..22b601f01 100644
--- a/win/C#/Program.cs
+++ b/win/C#/Program.cs
@@ -17,6 +17,7 @@ using System.IO;
using System.Diagnostics;
using System.Threading;
using System.Runtime.InteropServices;
+using System.Globalization;
namespace Handbrake
@@ -29,10 +30,9 @@ namespace Handbrake
[STAThread]
static void Main()
{
-
// Development Code Expiry.
// Remember to comment out on public release!!!
- if (DateTime.Now > DateTime.Parse("20/1/2008")) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; }
+ if (DateTime.Now > DateTime.Parse("2008/01/30", 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;
@@ -61,7 +61,6 @@ namespace Handbrake
MessageBox.Show("frmMain.cs - systemCheck() " + exc.ToString());
}
-
// Either Launch or Close the Application
if (launch == true)
{