Click or drag to resize
DomainResponse Class
This class represents the GeoIP2 Domain response.
Inheritance Hierarchy

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntax
public class DomainResponse : AbstractResponse

The DomainResponse type exposes the following members.

Constructors
  NameDescription
Public methodDomainResponse
Construct a DomainResponse model object.
Public methodDomainResponse(String, String)
Construct a DomainResponse model object.
Top
Properties
  NameDescription
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".
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.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetLocales
This is simplify the database API. Also, we may need to use the locales in the future.
(Inherited from AbstractResponse.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also