System.Version
From Xojo Documentation
Method
Information about the current OS system version.
Notes
- Can compare against text numbers formatted as "Major.Minor.Patch".
- Automatically adds "0" to any missing segments. "14" is changed to "13.0.0" before the comparison is done.
- Use System.VersionData.ToString to display the OS version.