I have added to WMAppManifest.xml:
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
<Capability Name="ID_CAP_IDENTITY_USER" />
So why do I keep getting empty strings from:
public static string GetWindowsLiveAnonymousID()
{
int ANIDLength = 32;
int ANIDOffset = 2;
string result = string.Empty;
object anid;
if (UserExtendedProperties.TryGetValue("ANID", out anid))
{
if (anid != null && anid.ToString().Length >= (ANIDLength + ANIDOffset))
{
result = anid.ToString().Substring(ANIDOffset, ANIDLength);
}
}
return result;
}
It does not seem to handle that TryGetValue very well... Someone got a clue?
If your worker's mobile phone is unable to download and activate TraceTogether, it is likely because the phone's operating system (OS) does not support the functionalities needed for the app to work.
The NHS App has only just been updated to display a 3rd or booster dose. Your medical record will be updated with this information but may take a few weeks to show on the App.
An Ariba Network Identification (ANID) number is a unique identifier of an Ariba Network account. Suppliers may maintain multiple ANIDs for various reasons.
¹ Where to see these screens: Open TraceTogether App > Tap on the Vaccination status card on the app's home screen. ² The effective date shown in your TraceTogether App indicates when your primary vaccination series came into effect.
It's called ANID2 in Windows Phone 8.
The UserExtendedProperties 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.
use instead for Win Phone 8 apps
string anid = UserExtendedProperties.GetValue("ANID2") as string;
Also make sure those are checked from the WMAppManifest
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
<Capability Name="ID_CAP_IDENTITY_USER" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With