MaxMind.GeoIP2 : MaxMind.GeoIP2.Responses Namespace

AnonymousIPResponse Class

This class represents the GeoIP2 Anonymous IP response.

Syntax

public class AnonymousIPResponse : 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 AnonymousIPResponse model
Construct AnonymousIPResponse model

Public Properties

[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]
IsAnonymous bool . Returns true if the IP address belongs to any sort of anonymous network.
[read-only]
IsAnonymousVpn bool . Returns true if the IP address belongs to an anonymous VPN system.
[read-only]
IsHostingProvider bool . Returns true if the IP address belongs to a hosting provider.
[read-only]
IsPublicProxy bool . Returns true if the IP address belongs to a public proxy.
[read-only]
IsTorExitNode bool . Returns true if IP is a Tor exit node.

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

AnonymousIPResponse Constructor

Construct AnonymousIPResponse model

Syntax

public AnonymousIPResponse ()

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

AnonymousIPResponse Constructor

Construct AnonymousIPResponse model

Syntax

[MaxMind.Db.Constructor]
public AnonymousIPResponse ([MaxMind.Db.Parameter("is_anonymous", false)] bool isAnonymous, [MaxMind.Db.Parameter("is_anonymous_vpn", false)] bool isAnonymousVpn, [MaxMind.Db.Parameter("is_hosting_provider", false)] bool isHostingProvider, [MaxMind.Db.Parameter("is_public_proxy", false)] bool isPublicProxy, [MaxMind.Db.Parameter("is_tor_exit_node", false)] bool isTorExitNode, [MaxMind.Db.Inject("ip_address")] string ipAddress)

Parameters

isAnonymous
isAnonymousVpn
isHostingProvider
isPublicProxy
isTorExitNode
ipAddress

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

IsAnonymous Property

Returns true if the IP address belongs to any sort of anonymous network.

Syntax

[Newtonsoft.Json.JsonProperty("is_anonymous")]
public bool IsAnonymous { 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

IsAnonymousVpn Property

Returns true if the IP address belongs to an anonymous VPN system.

Syntax

[Newtonsoft.Json.JsonProperty("is_anonymous_vpn")]
public bool IsAnonymousVpn { 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

IsHostingProvider Property

Returns true if the IP address belongs to a hosting provider.

Syntax

[Newtonsoft.Json.JsonProperty("is_hosting_provider")]
public bool IsHostingProvider { 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

IsPublicProxy Property

Returns true if the IP address belongs to a public proxy.

Syntax

[Newtonsoft.Json.JsonProperty("is_public_proxy")]
public bool IsPublicProxy { 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

IsTorExitNode Property

Returns true if IP is a Tor exit node.

Syntax

[Newtonsoft.Json.JsonProperty("is_tor_exit_node")]
public bool IsTorExitNode { 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