AdvertisingManagerForUser.AdvertisingId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a unique ID used to provide more relevant advertising to a user.
public:
property Platform::String ^ AdvertisingId { Platform::String ^ get(); };
winrt::hstring AdvertisingId();
public string AdvertisingId { get; }
var string = advertisingManagerForUser.advertisingId;
Public ReadOnly Property AdvertisingId As String
Property Value
The advertising ID is represented as an alphanumeric string. When the advertising ID feature is turned off, this is an empty string.