locked
[WP 8.1] Get OS version programatically RRS feed

  • Question

  • Hi,

    I want to know if it is possible to get the OS version from inside the app. I want to add it to support emails sent by users, so i can replicate as accurate as possible the environment where they experience their issues.

    Thank you in advance!

    Friday, March 11, 2016 10:20 AM

Answers

  • Oops sorry I didn't see the 8.1 bit;

    https://github.com/Q42/Q42.WinRT


    http://pauliom.wordpress.com

    • Marked as answer by Sebastian-Dev Monday, March 14, 2016 11:59 AM
    Monday, March 14, 2016 8:13 AM

All replies

  • Hi Sebastian-Dev,

    This code provide your want information 

    Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation deviceInfo = new EasClientDeviceInformation(); 


              


    Friday, March 11, 2016 11:14 AM
  • Hi Azat.Tazayan,

    I have already tried this, but it only mentions WindowsPhone and not the specific version. (8.1 for example).

    Thank you for your interest!

    • Proposed as answer by Fred Bao Monday, March 14, 2016 1:55 AM
    • Unproposed as answer by Fred Bao Monday, March 14, 2016 1:55 AM
    Friday, March 11, 2016 11:36 AM
  • Try the environment class

    https://msdn.microsoft.com/en-us/library/system.environment%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

    Friday, March 11, 2016 12:17 PM
  • Hi mcosmin,

    The OSVersion property is only available for Silverlight apps, so i can not use it.

    Thank you for your answer!

    Friday, March 11, 2016 12:19 PM
  • Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamilyVersion;


    http://pauliom.wordpress.com

    Friday, March 11, 2016 4:50 PM
  • Hello Sebastian-Dev,

    >>I want to know if it is possible to get the OS version from inside the app

    As far as I know, for the Windows Phone 8.1 Runtime app, it cannot directly determine the OS version.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    Monday, March 14, 2016 7:09 AM
  • Oops sorry I didn't see the 8.1 bit;

    https://github.com/Q42/Q42.WinRT


    http://pauliom.wordpress.com

    • Marked as answer by Sebastian-Dev Monday, March 14, 2016 11:59 AM
    Monday, March 14, 2016 8:13 AM