Could you please exlain why you have the following line of code within ValidateSubscription? I have been testing an app using it and wanted to see what happens the day before and the day of expiration, but kept getting failures for both. Upon stepping through the code I found the following line, but there was no comment on the reason why expired is expired date plus four days?
if ((ExpirationDate - DateTime.UtcNow).TotalDays > 4)
Could you please exlain why you have the following line of code within ValidateSubscription? I have been testing an app using it and wanted to see what happens the day before and the day of expiration, but kept getting failures for both. Upon stepping through the code I found the following line, but there was no comment on the reason why expired is expired date plus four days?
if ((ExpirationDate - DateTime.UtcNow).TotalDays > 4)