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, 16 insertions, 0 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs
index e764a1c29..ab485c16f 100644
--- a/win/C#/Program.cs
+++ b/win/C#/Program.cs
@@ -1,3 +1,9 @@
+/* Program.cs
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.m0k.org/>.
+ It may be used under the terms of the GNU General Public License. */
+
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
@@ -24,6 +30,16 @@ namespace Handbrake
static void Main()
{
+ // Development Code Expiry.
+ // Remember to comment out on public release!!!
+ int year = DateTime.Now.Year;
+ int month = DateTime.Now.Month;
+ int day = DateTime.Now.Day;
+
+ if ((year > 2007) || (month > 10 )) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; }
+
+
+
// Check the system meets the system requirements.
Boolean launch = true;
try