Version: 2020.3

Application.advertisingIdentifier

切换到手册
public static string advertisingIdentifier ;

描述

广告 ID。

Windows::System::UserProfile::AdvertisingManager::AdvertisingId。 注意:如果您获得空字符串,请检查“PC Settings > Privacy > Let apps use my advertising ID for experiences across apps (turning this off will reset your ID)”选项。