title: System Device Location not working
body: <p>I have code for using the system.device.location api found in windows computers. This should be fairly straightfoward code            </p>
  
  <pre><code>var watcher = new GeoCoordinateWatcher();
          watcher.PositionChanged +=
  new EventHandler&lt;GeoPositionChangedEventArgs&lt;
      GeoCoordinate&gt;&gt;(GeoPositionChanged);
          watcher.Start();
          var coord = watcher.Position.Location;
  </code></pre>
  
  <p>I mean all I need to do is start a geo watcher and then read the location. But it only ever returns "Location Unknown" and I am wondering if there is an issue with the code, or if something needs to be installed on the computer, or what. I have tried this with a few windows 7 pcs and 1 windows 10 pc and all of them have the share location turned on in the settings. So what is wrong with this code? Also this is the code for the geopositionchanged if that makes any difference.</p>
  
  <pre><code>    private static void GeoPositionChanged(object sender,
  GeoPositionChangedEventArgs&lt;GeoCoordinate&gt; e)
      {
          MessageBox.Show("The current location is: " +
              e.Position.Location.Latitude + "/" +
              e.Position.Location.Longitude + ".");
      }
  </code></pre>