For those developing location-aware Windows Store Apps for Windows 8, the Windows Runtime (WinRT) provides location data to the developer via the Location API.
The Windows Sensor and Location platform, first introduced by Microsoft back in Windows 7, allows applications to obtain information about, and react to, the hardware's physical environment.
Using Sensors and Location Data for Cutting-edge U
Geo-location on Windows 8* desktop applications using WinRT (PDF 342KB)
By Bill Sempf
If you are developing a location-aware application, you may reach a point where you need to know the distance between two geographic locations, such as the user's current position and some destinat