Constructor.
Namespace:
MaxMind.MinFraud.Request
Assembly:
MaxMind.MinFraud (in MaxMind.MinFraud.dll) Version: 0.6.0
Syntaxpublic Device(
IPAddress ipAddress,
string userAgent = null,
string acceptLanguage = null
)
Public Sub New (
ipAddress As IPAddress,
Optional userAgent As String = Nothing,
Optional acceptLanguage As String = Nothing
)
public:
Device(
IPAddress^ ipAddress,
String^ userAgent = nullptr,
String^ acceptLanguage = nullptr
)
new :
ipAddress : IPAddress *
?userAgent : string *
?acceptLanguage : string
(* Defaults:
let _userAgent = defaultArg userAgent null
let _acceptLanguage = defaultArg acceptLanguage null
*)
-> Device
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.
See Also