Grace period days remaining for IsGenuineEx

I'd like to do something like:

HRESULT hr = IsGenuineEx(guid, &opts);

if (hr == TA_E_INET || hr == TA_E_INET_DELAYED){ int daysRemaining = ?? // how to get this?

printf("YourApp is activated, but it failed to verify the activation with the LimeLM servers. You can still use the app for %d days.\n", daysRemaining);}

Is this possible? If not, it seems like a shortcoming of the new API.

int daysRemaining = ?? // how to get this?

Right now there's no way to get this. Until we add the ability to get this value, you can just phrase the message something like we show in the example:

You can still use the app for the duration of the grace period.

Or, make it a direct call to action:

You can still use the app for the duration of the grace period. Re-try now.

Alright, but it seems pretty important that the user know how much time they have left before the app stops working, don't you think?

Yes, absolutely. The reason we didn't add it to TA 3.3 is that we were trying to get a stable TA 3.3 out as fast as we could. This meant cutting a few nice to have functions until a point release.