MaxMind.GeoIP2 : MaxMind.GeoIP2.Responses Namespace

IspResponse Class

This class represents the GeoIP2 ISP response.

Syntax

public class IspResponse : AbstractResponse

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

See Also: Inherited members from AbstractResponse.

Public Constructors

Construct an IspResponse model.
Construct an IspResponse model.

Public Properties

[read-only]
AutonomousSystemNumber Nullable<int> . The autonomous system number associated with the IP address.
[read-only]
AutonomousSystemOrganization string . The organization associated with the registered autonomous system number for the IP address.
[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]
Isp string . The name of the ISP associated with the IP address.
[read-only]
Organization string . The name of the organization associated with the IP address.

Protected Methods

SetLocales (IEnumerable<string>)
This is simplify the database API. Also, we may need to use the locales in the future. (Inherited from AbstractResponse.)

Member Details

IspResponse Constructor

Construct an IspResponse model.

Syntax

public IspResponse ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

IspResponse Constructor

Construct an IspResponse model.

Syntax

[MaxMind.Db.Constructor]
public IspResponse ([MaxMind.Db.Parameter("autonomous_system_number", false)] Nullable<long> autonomousSystemNumber, [MaxMind.Db.Parameter("autonomous_system_organization", false)] string autonomousSystemOrganization, string isp, string organization, [MaxMind.Db.Inject("ip_address")] string ipAddress)

Parameters

autonomousSystemNumber
Documentation for this section has not yet been entered.
autonomousSystemOrganization
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.
ipAddress
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

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

AutonomousSystemNumber Property

The autonomous system number associated with the IP address.

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.Responses
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.

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.Responses
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.Responses
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.

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.Responses
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.

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.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0