The Windows 10 API provides API availability checks. So you target the latest version but then add checks to see what API's are available.
This is nice because it encapsulates both OS version API differences and device capabilities.
https://blogs.windows.com/buildingapps/2015/09/15/dynamicall...
using Windows.Foundation.Metadata;
if(ApiInformation.IsTypePresent("Windows.Media.Playlists.Playlist"))
{
await myAwesomePlaylist.SaveAsAsync( ... );
}
if(ApiInformation.IsApiContractPresent("Windows.Media.Playlists.PlaylistsContract"), 1, 0)
{
// Now I can use all PlayList APIs
}