MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

Traits Class

Contains data for the traits record associated with an IP address. This record is returned by all the end points.

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: 0.3.2.0

Members

See Also: Inherited members from object.

Public Constructors

Traits ()
Documentation for this section has not yet been entered.

Public Properties

[read-only]
AutonomousSystemNumber Nullable<int> . The autonomous system number associated with the IP address. This attribute is only available from the City/ISP/Org and Omni end points.
[read-only]
AutonomousSystemOrganization string . The organization associated with the registered autonomous system number for the IP address. This attribute is only available from the City/ISP/Org and Omni end points.
[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 attribute is only available from the City/ISP/Org and Omni end points.
[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. This attribute is returned by all end points.
[read-only]
IsAnonymousProxy bool . This is true if the IP is an anonymous proxy. This attribute is returned by all end points. MaxMind's GeoIP FAQ
[read-only]
Isp string . The name of the ISP associated with the IP address. This attribute is only available from the City/ISP/Org and Omni end points.
[read-only]
IsSatelliteProvider bool . This is true if the IP belong to a satellite internet provider. This attribute is returned by all end points.
[read-only]
Organization string . The name of the organization associated with the IP address. This attribute is only available from the City/ISP/Org and Omni end points.
[read-only]
UserType string . The user type associated with the IP address. This can be one of the following values: business cafe cellular college content_delivery_network dialup government hosting library military residential router school search_engine_spider traveler This attribute is only available from the Omni end point.

Public Methods

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

Member Details

Traits Constructor

Documentation for this section has not yet been entered.

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: 0.3.2.0

AutonomousSystemNumber Property

The autonomous system number associated with the IP address. This attribute is only available from the City/ISP/Org and Omni end points.

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: 0.3.2.0

AutonomousSystemOrganization Property

The organization associated with the registered autonomous system number for the IP address. This attribute is only available from the City/ISP/Org and Omni end points.

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: 0.3.2.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 attribute is only available from the City/ISP/Org and Omni end points.

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: 0.3.2.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. This attribute is returned by all end points.

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: 0.3.2.0

IsAnonymousProxy Property

This is true if the IP is an anonymous proxy. This attribute is returned by all end points. MaxMind's GeoIP FAQ

Syntax

[Newtonsoft.Json.JsonProperty("is_anonymous_proxy")]
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: 0.3.2.0

Isp Property

The name of the ISP associated with the IP address. This attribute is only available from the City/ISP/Org and Omni end points.

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: 0.3.2.0

IsSatelliteProvider Property

This is true if the IP belong to a satellite internet provider. This attribute is returned by all end points.

Syntax

[Newtonsoft.Json.JsonProperty("is_satellite_provider")]
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: 0.3.2.0

Organization Property

The name of the organization associated with the IP address. This attribute is only available from the City/ISP/Org and Omni end points.

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: 0.3.2.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: 0.3.2.0

UserType Property

The user type associated with the IP address. This can be one of the following values: business cafe cellular college content_delivery_network dialup government hosting library military residential router school search_engine_spider traveler This attribute is only available from the Omni end point.

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: 0.3.2.0