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