May 02, 2013
Allows an app to obtain an anonymous identifier for the user of the device.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Thetype exposes the following members.
The API exposes two properties: ANID and ANID2.
ANID can only be accessed from Windows Phone OS 7.0 and Windows Phone OS 7.1 apps that use the Microsoft Advertising SDK for Windows Phone.
ANID2 can only be accessed from Windows Phone 8 apps.
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
Windows Phone 8, Windows Phone OS 7.1
For more info, see App capabilities and hardware requirements for Windows Phone.