How to check type of licensing being used?

Hi Wyatt,

I have already implemented TurboActivate licensing in my program. Currently I am working on adding support for TurboFloat as well.

I wanted to know if there is an API to check which type of licensing is currently being used in a system. I mean is there a way to check the licensing type.

Thanks

The easiest thing to do is to remember (i.e. save to disk) the user's selection of either node-locked licensing (TA) or floating licensing (TF). This way you don't have to "figure out" which they're using -- you already know.

If you don't want to do that, then you can use TA_IsGenuineEx(), and if that fails use TF_RequestLease(). But honestly, it's cleaner and you'll be able to provide a better user interface if you just remember the user's selection. It can be as saving a single byte to file.

Got it.

Thanks for the reply!