System.Device.Location Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This namespace provides access to the Windows Phone Location Service APIs enabling the development of location-aware applications.


If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.


Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.


Class Description
CivicAddress Represents a location expressed as a civic address.
CivicAddressResolver Attempts to obtain the civic address for a provided geographical coordinate.
GeoCoordinate Represents a location expressed as a geographic coordinate. The values exposed by this class use the WGS 84 standard.
GeoCoordinateWatcher A provider class exposing the Windows Phone location service.
GeoPosition<(Of <(T>)>) Represents a geographic position consisting of a location and a time stamp.
GeoPositionChangedEventArgs<(Of <(T>)>) Provides data for PositionChanged events.
GeoPositionStatusChangedEventArgs Provides data for StatusChanged events.
ResolveAddressCompletedEventArgs Provides data for ResolveAddressCompleted events.


Interface Description
ICivicAddressResolver Defines the interface for resolving civic addresses. Implemented by CivicAddressResolver.
IGeoPositionWatcher<(Of <(T>)>) Defines the interface for resolving geographic positions. Implemented by the GeoCoordinateWatcher class.


Enumeration Description
GeoPositionAccuracy Defines the levels of accuracy that can be configured for the location service by using the GeoCoordinateWatcher constructor.
GeoPositionPermission Defines the level of access an application has to the location service. Used by the Permission property.
GeoPositionStatus Defines the status values for the location service. Used by the Status property.