1. how to revoke key using c#?
From the web API. Specifically, download the Web API pack, then use the RevokePKey() function in LimeLM.cs.
2. how to check 1 year licence using TurboActivate.IsDateValid() ? i created updates_expires field
Read in the "update_expires" field like this:
string updateExpires = TurboActivate.GetFeatureValue("update_expires", null);
Then verify the date hasn't expired yet:
bool isDateValid = updateExpires != null && TurboActivate.IsDateValid(updateExpires, TurboActivate.TA_DateCheckFlags.TA_HAS_NOT_EXPIRED)(