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