Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

Detect feature expired in remote desktop

$
0
0
Hi, our software is autorized to run on a machine connected via remote desktop.
We have a feature with an expiration date, but if we test that feature, we obtain HASP_TS_DETECTED status instead of HASP_FEATURE_EXPIRED. I copy the code that we use. 
How can we solve this problem?
  1. ChaspFeature feature = ChaspFeature::fromFeature(featureid);
    Chasp hasp(feature);
    haspStatus status = hasp.login(VENDOR_CODE);
    bool succeeded = HASP_SUCCEEDED(status);
    bool expired = status == HASP_FEATURE_EXPIRED; --> this is false because status is HASP_TS_DETECTED
Thanks Matteo

Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>