How to get OS version number? [duplicate]

2019-01-20 10:41发布

问题:

Possible Duplicate:
How to get the current OS version of Windows Phone?

How to get installed OS version number on the Windows Phone 7?

回答1:

You can use :

Environment.OSVersion.Version


回答2:

System.Environment.OSVersion should do the trick: http://msdn.microsoft.com/en-us/library/system.environment.osversion.aspx