更新时间:2023-01-27 14:39:33
你可以通过下面这个语句获得手机OS的OS Major和Minor版本
you can get the OS Major and minor version of the phone OS through this following statement
temp = System.Environment.OSVersion.Version.Major
temp = System.Environment.OSVersion.Version.Minor
在 WP 7.0 和 7.1 主要版本中都是 7但次要版本不同.Wp7.0 为 0,7.1 为 10
in both the WP 7.0 and 7.1 major version is 7 but Minor version differs. For Wp7.0 it is 0 and 7.1 it is 10