Changing online activated user to offline

Because we have a server based product.We have a scenario where the product will be installed in an internet connected environment and product key will be entered then with online . and afterwards the server will be placed in a non internet access environment.because this is a case in only some of the customers, i still want to use the TA_IsGenuineEx when system initializes, but still have the option to late on set the TurboActive to know the system will be working offline so skipOffline will work.i see from the comments in the API that product will be marked as offline only if i used ActivateRequestToFile(), ActivateFromFile() to activate product.how can i force the behavior?thanks

i searched through the forum and saw you adressed this issue with another user.https://wyday.com/forum/t/3910/saas-licensing-and-offline-activation/

But, if i don't want the customer to go through the hassle of sending and receiving a registration file again.will using only ActivateRequestToFile() switch him to offline user state? will it deactivate him untill ActivateFromFile() is used?

Yes, for the customer to be offline activated they have to offline activate. Otherwise there's no reason to do it in the first place (no security benefits to being "partially" online).

the Yes you answered is for which of my questions?will it work only using ActivateRequestToFile()?or that using ActivateRequestToFile() will deactivate him until ActivateFromFile() is used?

and as i wrote. it's not "partial online" . the product is installed and activated when there is internet connection and may or may not be used in an offline site.so the state needs to change accordingly.

To be offline activated they need to activated offline. This means completing the full offline activation process: https://wyday.com/limelm/help/offline-activation/

Completing only one or 2 steps will not make them activated (nor will it "convert" an online activation to an offline activation).

If they want to convert an online activation to an offline activation -- or if they just want to activate offline in the first place -- they need to complete the whole process.

o.kthanks for the answer.

this leads me to another question. since,as i said, our product is server based.the solution we currently have for offline customers (and no webUI). is that the application reads the serial from a configuration file and then generates the ActivationRequest.xml file. the application will then shutdown and when customer puts an ActivationResponse.xml file in the server and run application again it will read the response file and activate product.

what will be the behavior of the TA_IsGenuineEx in this case before we read the response file? will it return TA_FAIL,TA_E_ACTIVATE or anther result.

>> "what will be the behavior of the TA_IsGenuineEx in this case before we read the response file? will it return TA_FAIL,TA_E_ACTIVATE or anther result."

TA_OK when they're activated. TA_FAIL, TA_E_ACTIVATE, or any number of other error codes if they're not activated. TurboActivate.h covers the error codes returned and what they mean.

Thanks Another issue i ran into, when checking the offline licensing, is that it's lacking the exception handling details of the online activation.For example, when i tried to activate from ActivationResponse.xml file i got a general TurboActivateException with no explanation (TA_FAIL). but whne i ran the same scenario with online activation it threw DateTimeException (TA_E_EXPIRED).

Different error codes mean different things in different contexts. Hence, different errors for offline activation and online activation when the system clock is messed with.