windows phone 8 - DeviceExtendedProperties.GetValue throws exception ArgumentOutOfRangeException for property "IsApplicationPreinstalled" -


i want know if application preinstalled or downloaded market place on windows phone 8 platform.

for used http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.info.deviceextendedproperties

boolean ispreinstalled = (boolean)deviceextendedproperties.getvalue("isapplicationpreinstalled"); 

application throws exception argumentoutofrangeexception - specified property not exist. documentation not indicate property deprecated. missing here ?

you need have windows phone 8 with update 3 installed. in older versions of os, argumentoutofrangeexception thrown. documentation not mention restriction.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -