0
열고 내가maxMind GeoIP가 데이터베이스 나 DLL을 maxmind을 가져온
Dim ls As New LookupService("GeoIP.dat", LookupService.GEOIP_MEMORY_CACHE)
'get country of the ip address
Dim c As Country = ls.getCountry("24.24.24.24")
Console.Write(" code: " & c.getCode() & vbLf)
Console.Write(" name: " & c.getName() & vbLf)
CountryName.Text = " name: " & c.getName() & vbLf
하지만
Dim c As Country = ls.getCountry("24.24.24.24")
가 제공하는 다음 코드를 사용한 IP 주소의 국가 이름을 가져 GeoIp.dat 데이터베이스를 다운로드하지 다음 오류가 발생했습니다. 데이터베이스가 닫혔습니다. 문제를 될 수있는 것을