What exactly happens after IsProductGenuine() functions does a server sync?

What exactly happens after IsProductGenuine() functions does a server sync? Does it automatically deactivate the key on the server is it fails to check out?

Hi,

When IsProductGenuine() does a server sync it verifies the integrity of local encrypted data and updates it with the new data (e.g. updated value of custom fields, license validity etc.)

If it fails to do a server check due to network problem, it tries again after a specific interval of time and on every startup untill it successfully syncs. However, if it consecutively fails for specific number of days (default 30 days), then instead of returning LA_OK it returns LA_GP_OVER. To set grace period:

/
    FUNCTION: SetGracePeriodForNetworkError()

    PURPOSE: Sets the grace period for failed re-validation requests sent
    by IsProductGenuine() function, caused due to network errors.
   
    It determines how long in days, should IsProductGenuine() function retry
    contacting CryptLex Servers, before returning LA_GP_OVER instead of LA_OK.

    To ignore grace period pass 0 as the grace period. This may be useful in
    case of offline activations.

    PARAMETERS:
    * gracePeriod - length of the grace period in days

    RETURN CODES: LA_OK
/