Click or drag to resize
WebServiceClient Constructor (Int32, String, String, Int32)
Initializes a new instance of the WebServiceClient class.

Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntax
public WebServiceClient(
	int userId,
	string licenseKey,
	string host = "geoip.maxmind.com",
	int timeout = 3000
)

Parameters

userId
Type: SystemInt32
Your MaxMind user ID.
licenseKey
Type: SystemString
Your MaxMind license key.
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