Click or drag to resize

Device Constructor

Constructor.

Namespace:  MaxMind.MinFraud.Request
Assembly:  MaxMind.MinFraud (in MaxMind.MinFraud.dll) Version: 2.0.0
Syntax
public Device(
	IPAddress ipAddress,
	string userAgent = null,
	string acceptLanguage = null,
	Nullable<double> sessionAge = null,
	string sessionId = null
)

Parameters

ipAddress
Type: System.NetIPAddress
The IP address associated with the device used by the customer in the transaction.
userAgent (Optional)
Type: SystemString
The HTTP “User-Agent” header of the browser used in the transaction.
acceptLanguage (Optional)
Type: SystemString
The HTTP “Accept-Language” header of the device used in the transaction.
sessionAge (Optional)
Type: SystemNullableDouble
The number of seconds between the creation of the user's session and the time of the transaction. Note that sessionAge is not the duration of the current visit, but the time since the start of the first visit.
sessionId (Optional)
Type: SystemString
A string up to 255 characters in length. This is an ID that uniquely identifies a visitor's session on the site.
See Also