Ejemplo 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");
 }
Ejemplo 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;
 }