Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Mobile & other Extensions for the UWP - which version should I use

I have already got to know that in order to obtain DeviceId I should add reference to my project - "Windows Mobile Extensions for the UWP" this SDK comes with Visual Studio and is available in References Manager under Windows Universal/Extensions position. However there are two positions like that on the list, they come with different versions - 10.0.10240.0 and 10.0.10586.0.

Which one of them should I use? Are there any differences that I should be aware of, or should I just keep using newer one? Are they related to the windows build number on the machine I want to run my app?

like image 476
RTDev Avatar asked Dec 30 '15 14:12

RTDev


1 Answers

A Universal Windows Platform project can use feature detection to take advantage of APIs available on a platform version "2" and still run on platform version "1", the same way it can run on desktop, mobile or IoT with specific user experience for each platform.

This is how to deal with feature detection (and not version detection)

https://blogs.windows.com/buildingapps/2015/09/15/dynamically-detecting-features-with-api-contracts-10-by-10/

Check how to setup your project properties

https://msdn.microsoft.com/en-us/library/8x480de8.aspx

like image 104
danvy Avatar answered Sep 19 '22 23:09

danvy