Pages

Friday 17 August 2012

How to uniquely identify a device in WinRT?


How to uniquely identify a device in WinRT?  This is a nice trick that has been introduced in RTM. Why do you want to identify a device? Because you might be syndicating content or data from your services to a device or devices and you want to partition based on what is already present (sort of like TFS workspaces) or you want to save bandwidth or some other clever thing you think of.

Here’s how you do it:

var _Token = Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(null);

Here is full article here

No comments:

Post a Comment

Web Informer Button