System.Version

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

System.Version() As 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 System.Version >= "10.14.1" Then
  • Automatically adds "0" to any missing segments. "14" is changed to "14.0.0" before the comparison is done.

  • Use System.VersionData.ToString to display the OS version.