Click or drag to resize

DatabaseReaderTryDomain Method (String, DomainResponse)

Tries to lookup a DomainResponse for the specified IP address.

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

Parameters

ipAddress
Type: SystemString
The IP address.
response
Type: MaxMind.GeoIP2.ResponsesDomainResponse
The DomainResponse.

Return Value

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

Implements

IGeoIP2DatabaseReaderTryDomain(String, DomainResponse)
See Also