WebServiceClientCountryAsync Method (IPAddress) |
Asynchronously query the GeoIP2 Precision: Country web service for the specified IP address.
Namespace: MaxMind.GeoIP2Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntaxpublic Task<CountryResponse> CountryAsync(
IPAddress ipAddress
)
Public Function CountryAsync (
ipAddress As IPAddress
) As Task(Of CountryResponse)
public:
virtual Task<CountryResponse^>^ CountryAsync(
IPAddress^ ipAddress
) sealed
abstract CountryAsync :
ipAddress : IPAddress -> Task<CountryResponse>
override CountryAsync :
ipAddress : IPAddress -> Task<CountryResponse>
Parameters
- ipAddress
- Type: System.NetIPAddress
The IP address.
Return Value
Type:
TaskCountryResponseTask that produces an object modeling the Country response
Implements
IGeoIP2WebServicesClientCountryAsync(IPAddress)
See Also