AdvertisingManager AdvertisingManager AdvertisingManager AdvertisingManager AdvertisingManager Class

Definition

Provides a property that lets the caller retrieve the advertising ID.

public : static class AdvertisingManager
static struct winrt::Windows::System::UserProfile::AdvertisingManager
public static class AdvertisingManager
Public Shared Class AdvertisingManager
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

AdvertisingManager is a static runtime object and does not need to be retrieved or created.

Version history

Windows version SDK version Value added
1607 14393 GetForUser

Properties

AdvertisingId AdvertisingId AdvertisingId AdvertisingId AdvertisingId

Retrieves a unique ID used to provide more relevant advertising. If the advertising ID feature is turned off, no ID is retrieved.

Methods

GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User)

Gets the advertising ID for the specified user.

See also