How simply read lat and lon?
giesalabs opened this issue · comments
Giancarlo Giesa commented
Hello
using (var reader = new Reader("GeoIP2-City.mmdb"))
{
var ip = IPAddress.Parse("24.24.24.24");
var data = reader.Find<Dictionary<string, object>>(ip);
...
what here?
}
i try somthing like:
foreach (KeyValuePair<string, object> author in data)
{
Console.WriteLine(author.Key+"="+ author.Value.ToString());
}
but the result is anoother dictionary, how get lat and lon?
sincerely giancarlo