{"action":"closed","issue":{"url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/18","labels_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/18/comments","events_url":"https://api.github.com/repos/maxmind/MaxMind-DB-Reader-dotnet/issues/18/events","html_url":"https://github.com/maxmind/MaxMind-DB-Reader-dotnet/issues/18","id":93486012,"number":18,"title":"No close method in Reader","user":{"login":"chr1sk0n","id":11706062,"avatar_url":"https://avatars.githubusercontent.com/u/11706062?v=3","gravatar_id":"","url":"https://api.github.com/users/chr1sk0n","html_url":"https://github.com/chr1sk0n","followers_url":"https://api.github.com/users/chr1sk0n/followers","following_url":"https://api.github.com/users/chr1sk0n/following{/other_user}","gists_url":"https://api.github.com/users/chr1sk0n/gists{/gist_id}","starred_url":"https://api.github.com/users/chr1sk0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chr1sk0n/subscriptions","organizations_url":"https://api.github.com/users/chr1sk0n/orgs","repos_url":"https://api.github.com/users/chr1sk0n/repos","events_url":"https://api.github.com/users/chr1sk0n/events{/privacy}","received_events_url":"https://api.github.com/users/chr1sk0n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T09:42:50Z","updated_at":"2015-07-13T14:53:56Z","closed_at":"2015-07-13T14:53:56Z","body":"Hi guys,\r\nin your example you use the following code:\r\n      var reader = new Reader(\"GeoIP2-City.mmdb\");\r\n      var response = reader.Find(\"24.24.24.24\");\r\n      Console.WriteLine(response.ToString());\r\n      reader.close();\r\nBut your class Reader provides no method 'close'. I have changed the example a bit to help the developers to better understand the usage of your lib. \r\nHere is my code:\r\n\r\n            using (var reader = new Reader(\"DB/GeoLite2-City.mmdb\"))\r\n            {\r\n                JToken response = reader.Find(\"24.24.24.24\");                \r\n                var city_de =\r\n                    JObject.Parse(response.ToString())\r\n                                .SelectToken(\"city\")\r\n                                .SelectToken(\"names\")\r\n                                .Select(l => (string) l).ToList();\r\n                Console.WriteLine(city_de.FirstOrDefault());\r\n\r\n                JObject cc = JObject.Parse(response.ToString());                \r\n                var state = (string)cc.SelectToken(\"subdivisions[0].names.en\");\r\n                Console.WriteLine(state);\r\n\r\n                string country = (string)cc.SelectToken(\"country.names.en\");\r\n                Console.WriteLine(country);\r\n\r\n                string continent = (string)cc.SelectToken(\"continent.names.en\");\r\n                Console.WriteLine(continent);\r\n            }\r\n\r\nRegards\r\nChristoph"}}