DatabaseReaderTryDomain Method (IPAddress, DomainResponse) |
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax public bool TryDomain(
IPAddress ipAddress,
out DomainResponse response
)
Public Function TryDomain (
ipAddress As IPAddress,
<OutAttribute> ByRef response As DomainResponse
) As Boolean
public:
virtual bool TryDomain(
IPAddress^ ipAddress,
[OutAttribute] DomainResponse^% response
) sealed
abstract TryDomain :
ipAddress : IPAddress *
response : DomainResponse byref -> bool
override TryDomain :
ipAddress : IPAddress *
response : DomainResponse byref -> bool
Parameters
- ipAddress
- Type: System.NetIPAddress
The IP address. - response
- Type: MaxMind.GeoIP2.ResponsesDomainResponse
The DomainResponse.
Return Value
Type:
BooleanA
Boolean describing whether the IP address was found.
Implements
IGeoIP2DatabaseReaderTryDomain(IPAddress, DomainResponse)See Also