What programming language are you using? If it's C/C++, refer to the TurboActivate.h file which include full descriptions of every function, flag, parameter, and error code.
You're looking for "TA_SKIP_OFFLINE". Full description from TurboActivate.h:
/* If the user activated using offline activation (TA_ActivateRequestToFile(), TA_ActivateFromFile() ), then with this flag TA_IsGenuineEx() will still try to validate with the LimeLM servers, however instead of returning TA_E_INET (when within the grace period) or TA_FAIL (when past the grace period) it will instead only return TA_OK (if machine has a valid activation).
If you still want to get the TA_E_INET error code, without deactivating after the grace period has expired, then use this flag in tandem with TA_OFFLINE_SHOW_INET_ERR.
If the user activated using online activation then this flag is ignored.*/#define TA_SKIP_OFFLINE ((uint32_t)1)