case 4522
This commit is contained in:
@@ -271,6 +271,16 @@ namespace AyaNova.Core
|
||||
}
|
||||
|
||||
|
||||
public int LicenseExpirationDays
|
||||
{
|
||||
get
|
||||
{
|
||||
if (WillExpire)
|
||||
return (int)(LicenseExpiration.ToUniversalTime() - DateTime.UtcNow).TotalDays;
|
||||
else
|
||||
return -1;//not expiring
|
||||
}
|
||||
}
|
||||
|
||||
public string LicenseFormat { get; set; }
|
||||
public string Id { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user