The CNClrLib.Device namespace allows application developers to easily access the computer's location by using a single API. Location information may come from multiple providers, such as GPS, Wi-Fi triangulation, and cell phone tower triangulation. The CNClrLib.Device interfaces provide a single API to encapsulate the multiple location providers on a computer and support seamless prioritization and transitioning between them. As a result, application developers who use this API do not need to tailor applications to specific hardware configurations. These interfaces are defined as classes and interfaces in C# System.Device.Location Namespace.
The following example shows how to handle StatusChanged events and print out the current GeoPositionStatus.