IGeoIP2DatabaseReaderTryAsn Method (String, AsnResponse) |
Tries to lookup an
AsnResponse for the specified IP address.
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax bool TryAsn(
string ipAddress,
out AsnResponse response
)
Function TryAsn (
ipAddress As String,
<OutAttribute> ByRef response As AsnResponse
) As Boolean
bool TryAsn(
String^ ipAddress,
[OutAttribute] AsnResponse^% response
)
abstract TryAsn :
ipAddress : string *
response : AsnResponse byref -> bool
Parameters
- ipAddress
- Type: SystemString
The IP address. - response
- Type: MaxMind.GeoIP2.ResponsesAsnResponse
The AsnResponse.
Return Value
Type:
BooleanA
Boolean describing whether the IP address was found.
See Also