using System; using System.Device.Location; namespace GPSlonandlat { public static class GeoLocation { public static double geoloclon { get; set; } public static double geoloclat {get;set;} static GeoLocation() { GeoCoordinate coordinate = new GeoCoordinate(); geoloclon = coordinate.Longitude; geoloclat = coordinate.Latitude; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)