This commit is contained in:
@@ -464,17 +464,19 @@ namespace AyaNovaQBI
|
|||||||
//Get license
|
//Get license
|
||||||
var r = await GetAsync("license");
|
var r = await GetAsync("license");
|
||||||
ALicense = r.ObjectResponse["data"]["license"].ToObject < AyaNovaLicense>();
|
ALicense = r.ObjectResponse["data"]["license"].ToObject < AyaNovaLicense>();
|
||||||
|
|
||||||
|
|
||||||
|
//UNEXPIRED AYANOVA LICENSE?
|
||||||
|
todo check this
|
||||||
|
|
||||||
|
|
||||||
|
//QBI LICENSED?
|
||||||
if (ALicense.features.FirstOrDefault(z => z.Feature == "QBI") == null)
|
if (ALicense.features.FirstOrDefault(z => z.Feature == "QBI") == null)
|
||||||
{
|
{
|
||||||
initErrors.AppendLine("QBI not licensed");
|
initErrors.AppendLine("QBI not licensed");
|
||||||
return false;
|
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?)
|
//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
|
// copy timestamp.cs and the createtimestamp.exe utility from v7 qbi and create build event to run it here and do same thing
|
||||||
|
|||||||
Reference in New Issue
Block a user