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