This commit is contained in:
2022-06-22 03:21:34 +00:00
parent cae8a82783
commit 4102809635

View File

@@ -464,17 +464,19 @@ namespace AyaNovaQBI
//Get license
var r = await GetAsync("license");
ALicense = r.ObjectResponse["data"]["license"].ToObject < AyaNovaLicense>();
//UNEXPIRED AYANOVA LICENSE?
todo check this
//QBI LICENSED?
if (ALicense.features.FirstOrDefault(z => z.Feature == "QBI") == null)
{
initErrors.AppendLine("QBI not licensed");
return false;
}
//if (!r.ObjectResponse["data"].Value<bool>())
//{
// initErrors.AppendLine("QBI not licensed");
// return false;
//}
//check if build date is within licensed date (how did I do that automated build date thing?)
// copy timestamp.cs and the createtimestamp.exe utility from v7 qbi and create build event to run it here and do same thing