Oxygene and WP8 – How to detect the Windows Phone OS Version using Oxygene?

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;

Oxygene and WP8 – How to detect the Windows Phone OS Version using Oxygene?

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...