Click or drag to resize

WebServiceClient Constructor

Initializes a new instance of the WebServiceClient class.

Namespace:  MaxMind.GeoIP2
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public WebServiceClient(
	int accountId,
	string licenseKey,
	IEnumerable<string> locales = null,
	string host = "geoip.maxmind.com",
	int timeout = 3000
)

Parameters

accountId
Type: SystemInt32
Your MaxMind account ID.
licenseKey
Type: SystemString
Your MaxMind license key.
locales (Optional)
Type: System.Collections.GenericIEnumerableString
List of locale codes to use in name property from most preferred to least preferred.
host (Optional)
Type: SystemString
The host to use when accessing the service
timeout (Optional)
Type: SystemInt32
Timeout in milliseconds for connection to web service. The default is 3000.
See Also