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

Re : What is the best way to check if a dongle is present?

$
0
0
Hello Pierre,

Thanks for raising the concern.

For the raised requirement, use of Hasp.GetInfo() or GetSessionInfo() would meet the requirement as using Hasp.login() call very frequently may lead to issues related to concurrency overflow if the logout calls are not handled properly.

However for legacy keys, you may like to use the haspFile.Read/Write() API as getInfo() is not available. We can initially use the "main" memory location in the legacy key to write and then call haspFile.Read() for reading the same at desired interval. If the key is not available then call would return the expected error.

Please help me confirm if this information is helpful.

Best Regards,
Parth Kaushik


Viewing all articles
Browse latest Browse all 1619

Trending Articles



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