Oxygene and Windows Phone 8 tutorials – Article Index
How to detect the Windows Phone OS Version using Oxygene?
The Environment.OSVersion property returns a string that contains the version of the operating system.
Below is a sample method in Oxygene which displays the Windows Phone OS version.
method GetVersion(); var WindowsPhoneVersion : string; Begin WindowsPhoneVersion := Environment.OSVersion.ToString(); MessageBox.Show(WindowsPhoneVersion.ToString()); End;