Hey Rick,
Yes, you can limit updates. See the article How to prevent or limit updates or, if you want a full example, see SaaS and time-limited licensing.
Is there a way to have wyUpdate automatically check eg. a date and only allow updates up to a set period eg. for 1 Year etc.
Hey Rick,
Yes, you can limit updates. See the article How to prevent or limit updates or, if you want a full example, see SaaS and time-limited licensing.
Sam,
The SaaS article requires login. Is there some sample code to show how this can be done? What needs to be called on the server and what needs to be returned. Also, how will the user know that their update period has expired and therefore, they are not getting the update. The info that you provided seems vague and something concrete would be of great help.
Thanks,
Well, the example of "SaaS and time-limited licensing" shows how to use LimeLM & TurboActivate to limit your updates. So the first step is to get a proper licensing solution. You can signup for LimeLM here (there's even a free plan).
Next you can download the WebAPI.zip file on your API page. It includes a fully fleshed out example of how to limit updates by a certain "expires date". The code is well commented and easy to follow -- we can help you out if you need it.
As far as displaying when the update expires to the user, you can do this within your app. You can use any programming language, but in C# the code would look something like this:
string expires = TurboActivate.GetFeatureValue("update_expires");
// get the DateTime object by parsing the date stringDateTime expiresDate = DateTime.Parse(expires);
//TODO: now use this expiresDate to display a nice message to the user that says something like "Your update contract expires in N days. Renew your license here."
And you can add an order form on your site that will charge their credit card, then use the LimeLM web API to update their "update_expires" value to the new correct value. In other words you can automate the whole process. The user will be able to get the latest updates to your app literally milliseconds after they order an extension to their update contract.
Tell me if this helps.