WebServiceClient Constructor (Int32, String, IEnumerableString, String, Int32) |
Namespace: MaxMind.GeoIP2Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntaxpublic WebServiceClient(
int userId,
string licenseKey,
IEnumerable<string> locales,
string host = "geoip.maxmind.com",
int timeout = 3000
)
Public Sub New (
userId As Integer,
licenseKey As String,
locales As IEnumerable(Of String),
Optional host As String = "geoip.maxmind.com",
Optional timeout As Integer = 3000
)
public:
WebServiceClient(
int userId,
String^ licenseKey,
IEnumerable<String^>^ locales,
String^ host = L"geoip.maxmind.com",
int timeout = 3000
)
new :
userId : int *
licenseKey : string *
locales : IEnumerable<string> *
?host : string *
?timeout : int
(* Defaults:
let _host = defaultArg host "geoip.maxmind.com"
let _timeout = defaultArg timeout 3000
*)
-> WebServiceClient
Parameters
- userId
- Type: SystemInt32
The user unique identifier. - licenseKey
- Type: SystemString
The license key. - locales
- 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