0

I want to get Operating System name and version of windows phone using C#. I am trying System.Environment.OSVersion but it says OSVersion not found in System.Environment

Esteban Herrera
  • 2,263
  • 2
  • 23
  • 32
  • It should work. Here is similar question - http://stackoverflow.com/questions/8472010/how-can-i-get-os-name-and-version-details-in-c-sharp-on-windows-mobile-7 Maybe it would help you – Pawel Maga May 15 '15 at 06:39
  • Short answer: you can't and they don't want you to because they didn't want developers to target specific versions of 8.x. It has nothing at all to do with now many versions exist. – NotMe Aug 26 '15 at 22:00

1 Answers1

0

System.Environment.OSVersion will not work in Windows 8.1, because win 8.1 has many several versions. I think they will fix this bug when release newer versions.

Esteban Herrera
  • 2,263
  • 2
  • 23
  • 32
Rashad Valliyengal
  • 3,132
  • 1
  • 25
  • 39
  • this will help you to get the firmware version Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation deviceInfo = new Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation(); var firmwareVersion = deviceInfo.SystemFirmwareVersion; – Rashad Valliyengal May 15 '15 at 07:11
  • I am working on windows phone 8.0 – shashank jaiswal May 15 '15 at 07:13