Skip to content

Instantly share code, notes, and snippets.

@mbmccormick
Created November 30, 2012 16:56
Show Gist options
  • Save mbmccormick/4176978 to your computer and use it in GitHub Desktop.
Save mbmccormick/4176978 to your computer and use it in GitHub Desktop.
Checking Windows Phone platform version for new live tile functionality
private static Version TargetedVersion = new Version(8, 0);
public static bool IsTargetedVersion { get { return Environment.OSVersion.Version >= TargetedVersion; } }
if (IsTargetedVersion)
{
// use the new live tiles
}
else
{
// use the old live tiles
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment