コード例 #1
0
        public static async Task <Geolocation> GetLocation()
        {
            var locator = new Geolocator();

            return(await locator.GetLocation(TimeSpan.FromSeconds(10)));
        }