This commit is contained in:
2020-06-12 18:53:48 +00:00
parent 686e6961b6
commit 973af860bc
2 changed files with 25 additions and 12 deletions

View File

@@ -157,7 +157,8 @@ namespace AyaNova.Core
{
get
{
//TEST
// return LicenseStatus.ExpiredPurchased;
if (string.IsNullOrWhiteSpace(RegisteredTo) || RegisteredTo == UNLICENSED_TOKEN)
return LicenseStatus.NONE;
if (RegisteredTo == REVOKED_TOKEN)
@@ -455,7 +456,7 @@ namespace AyaNova.Core
{
return "ok";
}
else return res.Content.ToString();
else return $"E1020 - Error requesting trial license key: \"{res.ReasonPhrase}\"";
}
catch (Exception ex)
{