When calling the QlmLicense.Ping method, the QLM API invokes the QLM License Server Ping method to determine if the client has a valid internet connection. This Ping request is a web method call that goes over port 80 or 443. When there's no internet connection, the Ping method may take a long time to time out and could potentially delay your application.
By setting EnableFastPing to true, QLM first performs a regular Ping to www.google.com. If the ping to www.google.com fails, QLM assumes the user does not have an internet connection and returns false. If there's no internet connection, the regular ping request times out much faster than the QlmLicense.Ping method.
If the ping to www.google.com succeeds, QLM will then invoke the License Server Ping method to confirm that the server is responding.
Note that there are some organizations that might block outgoing ping requests. In this case, you should set EnableFastPing to false.
Comments
0 comments
Please sign in to leave a comment.