Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Application.advertisingIdentifier

Switch to Manual
public static var advertisingIdentifier: string;

Description

Advertising ID.

Windows::System::UserProfile::AdvertisingManager::AdvertisingId. Note: If you get an empty string, check 'PC Settings -> Privacy -> Let apps use my advertising ID for experiences across apps (turning this off will reset your ID)' option.