Click or drag to resize
DatabaseReader.TryDomain Method (IPAddress, DomainResponse)
Tries to lookup a DomainResponse for the specified IP address.

Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntax
public bool TryDomain(
	IPAddress ipAddress,
	out DomainResponse response
)

Parameters

ipAddress
Type: System.Net.IPAddress
The IP address.
response
Type: MaxMind.GeoIP2.Responses.DomainResponse
The DomainResponse.

Return Value

Type: Boolean
A Boolean describing whether the IP address was found.

Implements

IGeoIP2DatabaseReader.TryDomain(IPAddress, DomainResponse)
See Also