| WebServiceClient Constructor (Int32, String, String, Int32) | 
 
Namespace: MaxMind.GeoIP2Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntaxpublic WebServiceClient(
	int userId,
	string licenseKey,
	string host = "geoip.maxmind.com",
	int timeout = 3000
)
Public Sub New ( 
	userId As Integer,
	licenseKey As String,
	Optional host As String = "geoip.maxmind.com",
	Optional timeout As Integer = 3000
)
public:
WebServiceClient(
	int userId, 
	String^ licenseKey, 
	String^ host = L"geoip.maxmind.com", 
	int timeout = 3000
)
new : 
        userId : int * 
        licenseKey : string * 
        ?host : string * 
        ?timeout : int 
(* Defaults:
        let _host = defaultArg host "geoip.maxmind.com"
        let _timeout = defaultArg timeout 3000
*)
-> WebServiceClientParameters
- 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