我需要一种方法来识别我的应用程序正在运行的Win8设备 [英] I need a way to identify the Win8 device my app is running

查看:92
本文介绍了我需要一种方法来识别我的应用程序正在运行的Win8设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我考虑使用自己创建的GUID并将其存储在Windows.Storage.ApplicationData.current.localSettings部分。问题是,有时,还没有确切地想出什么时候,我在localSettings中保存的密钥不存在。我想b $ b我认为我可以使用该存储空间获取我想保存的特定应用信息。

So I thought about using a GUID created by myself and store it on the Windows.Storage.ApplicationData.current.localSettings section. The problem is that sometimes, haven't exactly figured out when, I key I saved in the localSettings is not there. I thought I could use that storage for app specific info I'd like to save.

我是否在正确的位置?显然不是,我在哪里可以保存那些信息必须保留并在下次启动时再次被应用程序发现(即使它是它的新版本)

Am I in the right place? Obviously not, where can I save that info wich must be persisted and found again by the app next time it fires (even if it is a newer version of it)

问候,

http://bit.ly/sebagomez

http://bit.ly/sebagomez

推荐答案


HardwareIdentification.GetPackageSpecificToken
你在寻找什么对于?见 
使用应用专用硬件ID(ASHWID)实施每台设备的指南应用逻辑以获取更多信息。

Is the HardwareIdentification.GetPackageSpecificToken what you are looking for? See  Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic for more information.

- Rob


这篇关于我需要一种方法来识别我的应用程序正在运行的Win8设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆