BluetoothLEAdvertisementPublisher.IsAnonymous Property

Definition

Specifies whether or not the device address is included in the advertisement header. By default, the address is included.

public:
 property bool IsAnonymous { bool get(); void set(bool value); };
bool IsAnonymous();

void IsAnonymous(bool value);
public bool IsAnonymous { get; set; }
var boolean = bluetoothLEAdvertisementPublisher.isAnonymous;
bluetoothLEAdvertisementPublisher.isAnonymous = boolean;
Public Property IsAnonymous As Boolean

Property Value

Boolean

bool

Indicates whether the device address is hidden. The default value is False, indicating that the address is included.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

The advertisement publisher must use the Extended Advertising format to utilize this API.

Applies to