GeoLocationProvider.Location Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the current location.
Namespace: System.Device.Location
Assembly: System.Device (in System.Device.dll)
You must call Start before accessing this property, otherwise Unknown will always be returned.
Note |
|---|
In versions of Windows other than Windows 7, all System.Device.Location objects that have constructors can be created, but the Status property always has the value Disabled, the Location property always returns Unknown, and no location events will occur. |
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note