Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleaned up examples/readme a bit

  • Loading branch information...
commit 0edc6acb5c4563a2bb8c8e9fa6cc09d56550b190 1 parent 6b66d86
@oschwald oschwald authored
View
68 README
@@ -1,68 +0,0 @@
-GeoIP C# API 1.18
-================
-
-As of version 1.14 this API is thread safe.
-
-Instructions for Mono - see http://www.mono-project.com/
-Should also work in Windows C# environment.
-
-To compile the examples
-
-For country example
-mono /usr/local/bin/mcs.exe countryExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-For city example
-mono /usr/local/bin/mcs.exe cityExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-For countryV6 example
-mono /usr/local/bin/mcs.exe countryV6Example.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-For cityV6 example
-mono /usr/local/bin/mcs.exe cityV6Example.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-For region example
-mono /usr/local/bin/mcs.exe regionExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-For org example
-mono /usr/local/bin/mcs.exe orgExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-For domain example
-mono /usr/local/bin/mcs.exe domainExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
-
-To run the examples:
-
-for country example
-mono countryExample.exe
-
-for city example
-mono cityExample.exe 24.24.24.24
-
-for org example
-mono orgExample.exe
-
-for domain example
-mono domainExample.exe
-
-for asn example
-mono asnExample.exe
-
-for countryV6 example
-mono countryV6Example.exe
-
-for city example
-mono cityV6Example.exe ::24.24.24.24
-
-for asnV6 example
-mono asnV6Example.exe
-
-MEMORY CACHING
-
-There are two options available:
-
-GEOIP_STANDARD - read database from filesystem, uses least memory.
-
-GEOIP_MEMORY_CACHE - load database into memory, faster performance
- but uses more memory
-
-Copyright 2013 MaxMind Inc
-Licensed under the LGPL
View
67 README.md
@@ -0,0 +1,67 @@
+# GeoIP C# API 1.18
+
+As of version 1.14 this API is thread safe.
+
+Instructions for Mono. See http://www.mono-project.com/
+Should also work in Windows C# environment.
+
+To compile the examples:
+
+Country:
+gmcs examples/countryExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+City:
+gmcs examples/cityExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+Country v6:
+gmcs examples/countryV6Example.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+City v6:
+gmcs examples/cityV6Example.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+Region:
+gmcs examples/regionExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+Organization:
+gmcs examples/orgExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+Domain:
+gmcs examples/domainExample.cs Country.cs DatabaseInfo.cs Location.cs LookupService.cs Region.cs RegionName.cs
+
+To run the examples:
+
+Country:
+mono countryExample.exe
+
+City:
+mono cityExample.exe 24.24.24.24
+
+Organization:
+mono orgExample.exe
+
+Domain:
+mono domainExample.exe
+
+ASN:
+mono asnExample.exe
+
+Country v6:
+mono countryV6Example.exe
+
+City:
+mono cityV6Example.exe ::24.24.24.24
+
+ASN v6:
+mono asnV6Example.exe
+
+## Memory Caching
+
+There are two options available:
+
+* `GEOIP_STANDARD` - Read database from filesystem. Uses least memory.
+* `GEOIP_MEMORY_CACHE` - load database into memory, faster performance
+ but uses more memory
+
+Copyright 2013 MaxMind, Inc.
+
+Licensed under the LGPL
View
0  asnExample.cs → examples/asnExample.cs
File renamed without changes
View
0  asnV6Example.cs → examples/asnV6Example.cs
File renamed without changes
View
0  cityExample.cs → examples/cityExample.cs
File renamed without changes
View
0  cityV6Example.cs → examples/cityV6Example.cs
File renamed without changes
View
0  countryExample.cs → examples/countryExample.cs
File renamed without changes
View
0  countryV6Example.cs → examples/countryV6Example.cs
File renamed without changes
View
0  domainExample.cs → examples/domainExample.cs
File renamed without changes
View
0  netspeedExample.cs → examples/netspeedExample.cs
File renamed without changes
View
0  orgExample.cs → examples/orgExample.cs
File renamed without changes
View
0  regionExample.cs → examples/regionExample.cs
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.