How to uniquely identify a Windows 8 device from WinRT
Posted August 10th, 2012 . 1 Comment .
There are some cases where you need to identify a precise Windows 8 device (imagine a subscription that’s locked to a specific machine), in Windows Phone you could use:
Microsoft.Phone.Info.DeviceExtendedProperties.GetValue( "DeviceUniqueId" );
Unfortunately that was not available in WinRT but good new is that capability has been added into final release:
Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(null);
is all you need to get the identifier tied to a machine.
source: stackoverflow
Using Fiddler to ‘slow down’ your network connection
Posted August 7th, 2012 . No Comments .
I’m working on a Windows 8 application and I need to test its behavior under relatively slow network connections in order to optimized user feedback. After some investigation I remembered that Fiddler offers such options.
Just run Fiddler, and select Rules->Performances->Simulate Modem Speeds
And you’re done, your Windows 8 app magically slows down…
Don’t forget to remove it when done!