Created
November 30, 2012 16:56
-
-
Save mbmccormick/4176978 to your computer and use it in GitHub Desktop.
Checking Windows Phone platform version for new live tile functionality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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