我想知道该应用程序是否已预装或从Windows Phone 8平台上的市场下载。
Boolean isPreinstalled = (Boolean)DeviceExtendedProperties.GetValue("IsApplicationPreinstalled");
Application抛出异常,因为ArgumentOutOfRangeException - 指定的属性不存在。但是,文档并未指明此属性已弃用。我在这里错过了什么吗?
答案 0 :(得分:0)
您需要安装Windows Phone 8 WITH Update 3。在旧版本的操作系统中,抛出了ArgumentOutOfRangeException。文档没有提到这个限制。