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.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
AdvertisingManager is a static runtime object and does not need to be retrieved or created.
|Windows version||SDK version||Value added|
|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.
|GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User)||
Gets the advertising ID for the specified user.
Send feedback about: