DatabaseReaderTryIsp Method (IPAddress, IspResponse) |
Tries to lookup an
IspResponse for the specified IP address.
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax public bool TryIsp(
IPAddress ipAddress,
out IspResponse response
)
Public Function TryIsp (
ipAddress As IPAddress,
<OutAttribute> ByRef response As IspResponse
) As Boolean
public:
virtual bool TryIsp(
IPAddress^ ipAddress,
[OutAttribute] IspResponse^% response
) sealed
abstract TryIsp :
ipAddress : IPAddress *
response : IspResponse byref -> bool
override TryIsp :
ipAddress : IPAddress *
response : IspResponse byref -> bool
Parameters
- ipAddress
- Type: System.NetIPAddress
The IP address. - response
- Type: MaxMind.GeoIP2.ResponsesIspResponse
The IspResponse.
Return Value
Type:
BooleanA
Boolean describing whether the IP address was found.
Implements
IGeoIP2DatabaseReaderTryIsp(IPAddress, IspResponse)See Also