summaryrefslogtreecommitdiffstats
path: root/win/C#/Program.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-01-08 17:26:06 +0000
committersr55 <[email protected]>2008-01-08 17:26:06 +0000
commitdd2fb22560796e89d3349a3ad790efed8d7ac092 (patch)
tree78c4a4ffd50bd1527e3814eed10ad3d07b87c4e4 /win/C#/Program.cs
parent5eed57a10ac4b0e351d00b67f9f990f79ba2d800 (diff)
WinGui:
- CMD window no longer appears during scanning - Fixed FormatException on start up in the Development expiry code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1174 b64f7644-9d1e-0410-96f1-a4d463321fa5
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)
{