protected List <BluetoothDevice> getBTDevicesInRangeAndRecognized() { BluetoothService.Mode = BluetoothService.BluetoothMode.MONITORING; try { return(BluetoothService.GetAvailableBluetoothDevices().ToList()); } catch (InvalidOperationException) { return(new List <BluetoothDevice>()); } }