Click or drag to resize

Traits Class

Contains data for the traits record associated with an IP address.
Inheritance Hierarchy
SystemObject
  MaxMind.GeoIP2.ModelTraits

Namespace:  MaxMind.GeoIP2.Model
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public class Traits

The Traits type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAutonomousSystemNumber
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.
Public propertyAutonomousSystemOrganization
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.
Public propertyConnectionType
The connection type of the IP address. This value is only set when using the Enterprise database.
Public propertyDomain
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.
Public propertyIPAddress
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.
Public propertyIsAnonymous
This is true if the IP address belongs to any sort of anonymous network. This value is only available from GeoIP2 Precision Insights.
Public propertyIsAnonymousProxy Obsolete.
This is true if the IP is an anonymous proxy. See MaxMind's GeoIP FAQ
Public propertyIsAnonymousVpn
This is true if the IP address is registered to an anonymous VPN provider. This value is only available from GeoIP2 Precision Insights.
Public propertyIsHostingProvider
This is true if the IP address belongs to a hosting or VPN provider (see description of IsAnonymousVpn property). This value is only available from GeoIP2 Precision Insights.
Public propertyIsLegitimateProxy
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.
Public propertyIsp
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.
Public propertyIsPublicProxy
This is true if the IP address belongs to a public proxy. This value is only available from GeoIP2 Precision Insights.
Public propertyIsSatelliteProvider Obsolete.
This is true if the IP belong to a satellite Internet provider.
Public propertyIsTorExitNode
This is true if the IP address belongs to a Tor exit node. This value is only available from GeoIP2 Precision Insights.
Public propertyNetwork
The network associated with the record. In particular, this is the largest network where all of the fields besides IPAddress have the same value.
Public propertyOrganization
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.
Public propertyStaticIPScore
An indicator of how static or dynamic an IP address is. The value ranges from 0 to 99.99 with higher values meaning a greater static association. For example, many IP addresses with a UserType of cellular have a lifetime under one. Static Cable/DSL IPs typically have a lifetime above thirty.
Public propertyUserCount
The estimated number of users sharing the IP/network during the past 24 hours. For IPv4, the count is for the individual IP. For IPv6, the count is for the /64 network. This value is only available from GeoIP2 Precision Insights.
Public propertyUserType
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 value is only set when using the City or Insights web service or the Enterprise database.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also