TAstaClientSocket.ApplicationVersion
Applies to
TAstaClientSocket
Declaration
property
ApplicationVersion: string;
Description
This ApplicationVersion is used with the ApplicationName
property to enable ASTA's Automatic Client Update feature.
Starting with ASTA v 1.91, if you have distributed 50 copies of an Asta client as version 1.0, you can automatically update them by registering a later Asta client version, say 1.1 or 2.0, at the server. When a user of version 1.0 logins into the server, he or she will be automatically updated to the latest version of your software.
To enable an automatic update, provide a version number like "1.0" in your initial release. When you are ready for the next release, increment the ApplicationVersion property to "1.1" or "2.0" and recompile your program. The resulting executable file should then be registered at the server. After you have registered the program, any 1.0 client that logs in will be automatically updated to the version registered at the server. It is critically important that you remember to increment the ApplicationVersion or no update will occur.
NOTE: The ApplicationVersion property is a STRING. When it is compared at the server it is converted to a float. 1.1 will be greater than 1.0. 1.1111 will be greater than 1.1. Use 1.0, 1.1, 1.2 and do not use 1.1.1.1 or 1.1.1.2, etc.