First, I feel I should make my case for wanting to do this: We have a small company that wants to support an app that is on iOS, Android and WINDOWS. Currently, we have a couple of Xamarin.Forms apps deployed on iOS & Android, and a WPF app for Windows 7 and 10, using a Bluetooth LE dongle. The dongle approach has obvious drawbacks, especially as more and more customers are moving into Win10 machines with native BLE support.
One obvious "solution" would be to have 2 windows apps -- a WPF version for older machines using the dongle, and a UWP version which does not use it. But, I know my company well enough to know that they will think this is very confusing for the customer. Plus, we would need to validate and maintain two separate apps.
I've also noticed recently "news" that Microsoft is backing away from their stance that UWP is the right way to do things in the future, and that they will be providing all those Win10 goodies (hopefully, including BLE support) in a rational way going forward to other frameworks like WPF.
It would be ideal for me to have a single app which would run on both Win7 & Win10, detect whether BLE is natively supported, and use dongle if not. I think this would need to be a WPF app.
CAN it be done? SHOULD it be done?
OR, maybe someone will say, best idea is to make an installer that figures it out, then installs the "right" program?
Thank you all for any input on this!