DatabaseReaderTryIsp Method (String, 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(
string ipAddress,
out IspResponse response
)
Public Function TryIsp (
ipAddress As String,
<OutAttribute> ByRef response As IspResponse
) As Boolean
public:
virtual bool TryIsp(
String^ ipAddress,
[OutAttribute] IspResponse^% response
) sealed
abstract TryIsp :
ipAddress : string *
response : IspResponse byref -> bool
override TryIsp :
ipAddress : string *
response : IspResponse byref -> bool
Parameters
- ipAddress
- Type: SystemString
The IP address. - response
- Type: MaxMind.GeoIP2.ResponsesIspResponse
The IspResponse.
Return Value
Type:
BooleanA
Boolean describing whether the IP address was found.
Implements
IGeoIP2DatabaseReaderTryIsp(String, IspResponse)See Also