MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

Traits Class

Contains data for the traits record associated with an IP address.

Syntax

public class Traits

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Members

See Also: Inherited members from object.

Public Constructors

Public Properties

[read-only]
AutonomousSystemNumber Nullable<int> . The autonomous system number associated with the IP address. This value is only set when using the City or Insights web service or the Enterprise database.
[read-only]
AutonomousSystemOrganization string . The organization associated with the registered autonomous system number for the IP address. This value is only set when using the City or Insights web service or the Enterprise database.
[read-only]
ConnectionType string . The connection type of the IP address. This value is only set when using the Enterprise database.
[read-only]
Domain string . The second level domain associated with the IP address. This will be something like "example.com" or "example.co.uk", not "foo.example.com". This value is only set when using the City or Insights web service or the Enterprise database.
[read-only]
IPAddress string . The IP address that the data in the model is for. If you performed a "me" lookup against the web service, this will be the externally routable IP address for the system the code is running on. If the system is behind a NAT, this may differ from the IP address locally assigned to it.
[read-only]
IsAnonymousProxy bool . This is true if the IP is an anonymous proxy. See MaxMind's GeoIP FAQ
[read-only]
IsLegitimateProxy bool . True if MaxMind believes this IP address to be a legitimate proxy, such as an internal VPN used by a corporation.This is only available in the GeoIP2 Enterprise database.
[read-only]
Isp string . The name of the ISP associated with the IP address. This value is only set when using the City or Insights web service or the Enterprise database.
[read-only]
IsSatelliteProvider bool . This is true if the IP belong to a satellite Internet provider.
[read-only]
Organization string . The name of the organization associated with the IP address. This value is only set when using the City or Insights web service or the Enterprise database.
[read-only]
UserType string . The user type associated with the IP address. This can be one of the following values:
This value is only set when using the City or Insights web service or the Enterprise database.

Public Methods

override
ToString () : string
Returns a string that represents this instance.

Member Details

Traits Constructor

Constructor

Syntax

public Traits ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Traits Constructor

Constructor

Syntax

[MaxMind.Db.Constructor]
public Traits ([MaxMind.Db.Parameter("autonomous_system_number", false)] Nullable<long> autonomousSystemNumber, [MaxMind.Db.Parameter("autonomous_system_organization", false)] string autonomousSystemOrganization, [MaxMind.Db.Parameter("connection_type", false)] string connectionType, string domain, [MaxMind.Db.Inject("ip_address")] string ipAddress, [MaxMind.Db.Parameter("is_anonymous_proxy", false)] bool isAnonymousProxy, [MaxMind.Db.Parameter("is_legitimate_proxy", false)] bool isLegitimateProxy, [MaxMind.Db.Parameter("is_satellite_provider", false)] bool isSatelliteProvider, string isp, string organization, [MaxMind.Db.Parameter("user_type", false)] string userType)

Parameters

autonomousSystemNumber
Documentation for this section has not yet been entered.
autonomousSystemOrganization
Documentation for this section has not yet been entered.
connectionType
Documentation for this section has not yet been entered.
domain
Documentation for this section has not yet been entered.
ipAddress
Documentation for this section has not yet been entered.
isAnonymousProxy
Documentation for this section has not yet been entered.
isLegitimateProxy
Documentation for this section has not yet been entered.
isSatelliteProvider
Documentation for this section has not yet been entered.
isp
Documentation for this section has not yet been entered.
organization
Documentation for this section has not yet been entered.
userType
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

AutonomousSystemNumber Property

The autonomous system number associated with the IP address. This value is only set when using the City or Insights web service or the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("autonomous_system_number")]
public Nullable<int> AutonomousSystemNumber { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

AutonomousSystemOrganization Property

The organization associated with the registered autonomous system number for the IP address. This value is only set when using the City or Insights web service or the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("autonomous_system_organization")]
public string AutonomousSystemOrganization { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

ConnectionType Property

The connection type of the IP address. This value is only set when using the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("connection_type")]
public string ConnectionType { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Domain Property

The second level domain associated with the IP address. This will be something like "example.com" or "example.co.uk", not "foo.example.com". This value is only set when using the City or Insights web service or the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("domain")]
public string Domain { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

IPAddress Property

The IP address that the data in the model is for. If you performed a "me" lookup against the web service, this will be the externally routable IP address for the system the code is running on. If the system is behind a NAT, this may differ from the IP address locally assigned to it.

Syntax

[Newtonsoft.Json.JsonProperty("ip_address")]
public string IPAddress { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

IsAnonymousProxy Property

This is true if the IP is an anonymous proxy. See MaxMind's GeoIP FAQ

Syntax

[Newtonsoft.Json.JsonProperty("is_anonymous_proxy")]
[System.Obsolete("Use our GeoIP2 Anonymous IP database instead.")]
public bool IsAnonymousProxy { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

IsLegitimateProxy Property

True if MaxMind believes this IP address to be a legitimate proxy, such as an internal VPN used by a corporation.This is only available in the GeoIP2 Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("is_legitimate_proxy")]
public bool IsLegitimateProxy { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Isp Property

The name of the ISP associated with the IP address. This value is only set when using the City or Insights web service or the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("isp")]
public string Isp { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

IsSatelliteProvider Property

This is true if the IP belong to a satellite Internet provider.

Syntax

[Newtonsoft.Json.JsonProperty("is_satellite_provider")]
[System.Obsolete("Due to increased mobile usage, we have insufficient data to maintain this field.")]
public bool IsSatelliteProvider { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Organization Property

The name of the organization associated with the IP address. This value is only set when using the City or Insights web service or the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("organization")]
public string Organization { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

ToString Method

Returns a string that represents this instance.

Syntax

public override string ToString ()

Returns

A string that represents this instance.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

UserType Property

The user type associated with the IP address. This can be one of the following values:
This value is only set when using the City or Insights web service or the Enterprise database.

Syntax

[Newtonsoft.Json.JsonProperty("user_type")]
public string UserType { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0