This commit is contained in:
2022-06-22 19:23:51 +00:00
parent 9198e2a3ea
commit a06c204036
2 changed files with 12 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ namespace AyaNovaQBI
/// <remarks>
/// Do not modify the definition of BuildAt as your changes will be discarded.
/// </remarks>
public static DateTime BuildAt { get { return new DateTime(637914944578794775); } } //--**
public static DateTime BuildAt { get { return new DateTime(637914972292295086); } } //--**
/// <summary>
/// The program that time stamped it.
/// </summary>

View File

@@ -493,7 +493,17 @@ namespace AyaNovaQBI
}
//check if build date is within licensed date (how did I do that automated build date thing?)
//check if build date is within maintenance and updates expiry date
if(ALicense.maintenanceExpiration < Timestamp.BuildAt)
{
initErrors.AppendLine("NOT LICENSED!\r\n\r\nThis QBI plugin was built " +
Timestamp.BuildAt.ToString("g") + "\r\n" +
"but the licensed support and updates subscription has ended on " +
ALicense.maintenanceExpiration.ToLocalTime().ToString("g") + "\r\n" +
"\r\nDowngrade back to your previous licensed QBI version or\r\npurchase a support and updates subscription to continue using this version of QBI.");
return false;
}
// copy timestamp.cs and the createtimestamp.exe utility from v7 qbi and create build event to run it here and do same thing
//check that AyaNova version matches required minimum for this QBI (