Esempio n. 1
0
 public static string GetDeviceSelectorFromAppearance(BluetoothLEAppearance appearance)
 {
     return(_deviceSelectorPrefix +
            "((System.Devices.Aep.Bluetooth.Le.Appearance.Category:=" + appearance.Category.ToString() +
            "AND System.Devices.Aep.Bluetooth.Le.Appearance.Subcategory:=" + appearance.SubCategory.ToString() +
            _deviceSelectorIssueInquiry + "#True");
 }
Esempio n. 2
0
 private BluetoothLEDevice(string name, BluetoothLEAppearance appearance)
 {
     // dummy for Error CS8618  Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
     Name       = name;
     Appearance = appearance;
 }