I have a xamarin native project.
In the PCL I would like to differentiate if its running winphone or uwp
I can easily differentiate iOS,Android and windows as whole(winphone and UWP)
I don't know how to differentiate winphone from UWP
Here is what I tried
 var platform = CrossDeviceInfo.Current.Platform;
            if (platform != Plugin.DeviceInfo.Abstractions.Platform.Windows && platform != Plugin.DeviceInfo.Abstractions.Platform.WindowsPhone){
 }
even uwp project says its windowsphone ..
I was hoping xamarin.winphone is windowsphone and uwp is windows.. but turns out both are winphone
I am using CrossDeviceInfo .. I couldn't find a way to do that