New! GraphQL.NET Cookbook by Senthil Kumar Balu

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?

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.