Order of calls with times trials

I am adding limelm timed trials to my app.

I am interested in which order it is advised to call the methods in TurboActivate class.

I have noticed that in the beginning when TrialDaysRemaining is more than zero IsActivated returns false. Do I need to even call IsActivated if there are trial days still remaining? Currently I call UseTrial at the beginning of my app, than check TrialDaysRemaining and only if it is zero I call IsActivated and display a dialog for key if it returns false.

Is this a correct approach?

I have noticed that in the beginning when TrialDaysRemaining is more than zero IsActivated returns false.

That's not true. TrialDaysRemaining and IsActivated() aren't related at all. Now, it may be true for your customers that they all use the trial until it's complete before buying a license and activating, but it's not TurboActivate behavior.

The recommended way to call TurboActivate is in the example apps. Call IsActivated() to see if they're activated, if not, call UseTrial() and TrialDaysRemaining() to see if they can use your app as a trial.

Does that make sense?

Thanks for your answer. I'll implement it in the way you have described.