32feet
32feet copied to clipboard
How to see if device is already paired?
I'd like to suggest an enhancement. I am currently prototyping the connection of BluetoothLe devices and would like to only try to connect to devices that are already paired. I did not find the functionality yet, so I was wondering, if the pairing state could be made available in the BluetoothDevice, e.g., by making the DeviceInformationPairing publicly available.
Cheers, Dennis
You can call the method GetPairedDevicesAsync to quickly return just paired devices without doing a discovery. I agree that exposing the paired state would also be useful.
Peter, thanks for pointing me in the right direction. During runtime that information would still be useful, though.