From 4102809635ba8a5e2435fb84dbebac76e17761f8 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 22 Jun 2022 03:21:34 +0000 Subject: [PATCH] --- AyaNovaQBI/util.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/AyaNovaQBI/util.cs b/AyaNovaQBI/util.cs index 4933e3d..ea85c06 100644 --- a/AyaNovaQBI/util.cs +++ b/AyaNovaQBI/util.cs @@ -464,18 +464,20 @@ 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()) - //{ - // 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 //check that AyaNova version matches required minimum for this QBI (