Contains data for the traits record associated with an IP address.
See Also: Inherited members from object.
[read-only] | AutonomousSystemNumber | Nullable<int> . The autonomous system number associated with the IP address. This attribute is only available from the City and Insights web service 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 and Insights web service 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 and Insights web service 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. |
[read-only] | IsAnonymousProxy | bool . This is true if the IP is an anonymous proxy. See 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 and Insights web service end points. |
[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 attribute is only available from the City and Insights web service 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 Insights end point. |
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.1.0.0
Constructor
Syntax
public Traits (Nullable<int> autonomousSystemNumber, string autonomousSystemOrganization, string domain, string ipAddress, bool isAnonymousProxy, bool isSatelliteProvider, string isp, string organization, string userType)Parameters
- autonomousSystemNumber
- Documentation for this section has not yet been entered.
- autonomousSystemOrganization
- 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.
- 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.1.0.0
The autonomous system number associated with the IP address. This attribute is only available from the City and Insights web service 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: 2.1.0.0
The organization associated with the registered autonomous system number for the IP address. This attribute is only available from the City and Insights web service 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: 2.1.0.0
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 and Insights web service 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: 2.1.0.0
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.1.0.0
This is true if the IP is an anonymous proxy. See 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: 2.1.0.0
The name of the ISP associated with the IP address. This attribute is only available from the City and Insights web service 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: 2.1.0.0
This is true if the IP belong to a satellite internet provider.
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: 2.1.0.0
The name of the organization associated with the IP address. This attribute is only available from the City and Insights web service 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: 2.1.0.0
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.1.0.0
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 Insights 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: 2.1.0.0