.net - Device unique id from C++/CX -
can device unique id(udid)
c++/cx code on wp8? or how can if doesnt? i've tried use deviceextendedproperties
(it doesn't work, .net class).
you can use hardwareidentification.getpackagespecifictoken method device-unique id specific app. there complications it, value of id depends on number of system factors such available memory, connected peripherals (think bluetooth headsets), network connectivity, etc - make sure read linked documentation! more in-depth discussion of components of hardware id can found here.
the value unique combination of app , specific device, more enough app-development purposes.
note api requires wp 8.1 "windows runtime" app, , not available wp8 silverlight apps.
using namespace windows::system::profile; ... ibuffer^ nonce = ...; // optional, see documentation hardwaretoken^ hwid = hardwareidentification::getpackagespecifictoken(nonce); // hardwaretoken has few properties, 1 you're interested // in hardwaretoken. ibuffer^ id = hwid->id;
Comments
Post a Comment