Last change
on this file since 6875 was
6826,
checked in by ascheibe, 13 years ago
|
#1648 added GeoIP library and API for looking up countries for ip-addresses
|
File size:
523 bytes
|
Rev | Line | |
---|
[6826] | 1 | using System; |
---|
| 2 | using System.IO; |
---|
| 3 | public class Region{ |
---|
| 4 | public String countryCode; |
---|
| 5 | public String countryName; |
---|
| 6 | public String region; |
---|
| 7 | public Region(){ |
---|
| 8 | } |
---|
| 9 | public Region(String countryCode,String countryName,String region){ |
---|
| 10 | this.countryCode = countryCode; |
---|
| 11 | this.countryName = countryName; |
---|
| 12 | this.region = region; |
---|
| 13 | } |
---|
| 14 | public String getcountryCode() { |
---|
| 15 | return countryCode; |
---|
| 16 | } |
---|
| 17 | public String getcountryName() { |
---|
| 18 | return countryName; |
---|
| 19 | } |
---|
| 20 | public String getregion() { |
---|
| 21 | return region; |
---|
| 22 | } |
---|
| 23 | } |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.