a week ago
is there any way to get the current version via api? such as 13.1, 14.0.2?
thanks for any advice.
Go to Solution.
- last edited
You can simply read the "current version" from registry.
How to read info from registry, you will find a lot of content in the internet.
One more thing I did in the past is to get the version of "tune.exe".
string setupPathPs = TxApplication.InstallationDirectory;
var versionInfo = FileVersionInfo.GetVersionInfo(setupPathPs + "\\Tune.exe");
Version actualVersion = new Version(versionInfo.FileVersion);
Thanks a lot.
another way is to get TxApplication.CurrentUserDirectory, the last folder is the version.
Watch Replays of Previous Topics