IGeoIP2DatabaseReaderTryCountry Method (String, CountryResponse) |
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax bool TryCountry(
string ipAddress,
out CountryResponse response
)
Function TryCountry (
ipAddress As String,
<OutAttribute> ByRef response As CountryResponse
) As Boolean
bool TryCountry(
String^ ipAddress,
[OutAttribute] CountryResponse^% response
)
abstract TryCountry :
ipAddress : string *
response : CountryResponse byref -> bool
Parameters
- ipAddress
- Type: SystemString
The IP address. - response
- Type: MaxMind.GeoIP2.ResponsesCountryResponse
The CountryResponse.
Return Value
Type:
BooleanA
Boolean describing whether the IP address was found.
See Also