Permalink
Browse files

Cleaned up examples/readme a bit

  • Loading branch information...
1 parent 6b66d86 commit 0edc6acb5c4563a2bb8c8e9fa6cc09d56550b190 @oschwald oschwald committed Sep 3, 2013
View
@@ -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
@@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0edc6ac

Please sign in to comment.