Xojo.System.Version

From Xojo Documentation

Method

Xojo.System.Version() As Xojo.System.VersionData

New in 2019r3

Supported for all project types and targets.

Information about the current OS system version.

Notes

  • Can compare against text numbers formatted as "Major.Minor.Patch".
If Xojo.System.Version >= "13.1" Then
  • Automatically adds "0" to any missing segments. "13" is changed to "13.0.0" before the comparison is done.

  • Use Xojo.System.VersionData.ToText to display the OS version.