This commit is contained in:
@@ -87,7 +87,7 @@ namespace AyaNovaQBI
|
||||
creds.password = password;
|
||||
var requestMessage = new HttpRequestMessage(HttpMethod.Post, ApiBaseUrl + "auth");
|
||||
requestMessage.Content = new StringContent(creds.ToString(), System.Text.Encoding.UTF8, "application/json");
|
||||
HttpResponseMessage response = null;
|
||||
HttpResponseMessage response;
|
||||
try
|
||||
{
|
||||
response = await client.SendAsync(requestMessage);
|
||||
@@ -460,6 +460,9 @@ namespace AyaNovaQBI
|
||||
return false;
|
||||
|
||||
//Fetch AyaNova license
|
||||
var r=await GetAsync("license");
|
||||
todo: need to be able to check via route if has licensefeature, code is already in license biz object, just need exposed to route for logged in users only under license/has-feature
|
||||
|
||||
//Check if licensed
|
||||
//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
|
||||
|
||||
Reference in New Issue
Block a user