Click or drag to resize

WebServiceClient Constructor

Constructor for minFraud web service client.

Namespace:  MaxMind.MinFraud
Assembly:  MaxMind.MinFraud (in MaxMind.MinFraud.dll) Version: 2.0.0
Syntax
public WebServiceClient(
	int accountId,
	string licenseKey,
	IEnumerable<string> locales = null,
	string host = "minfraud.maxmind.com",
	Nullable<TimeSpan> timeout = null,
	HttpMessageHandler httpMessageHandler = null
)

Parameters

accountId
Type: SystemInt32
Your MaxMind account ID.
licenseKey
Type: SystemString
Your MaxMind license key.
locales (Optional)
Type: System.Collections.GenericIEnumerableString
A list of locale codes to use for name property.
host (Optional)
Type: SystemString
The host to use when connecting to the web service.
timeout (Optional)
Type: SystemNullableTimeSpan
The timeout to use for the request.
httpMessageHandler (Optional)
Type: System.Net.HttpHttpMessageHandler
Handler to use in request. For unit testing only.
See Also