IGeoIP2WebServicesClientCountryAsync Method (IPAddress) |
Asynchronously query the GeoIP2 Precision: Country web service for the specified IP address.
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax Task<CountryResponse> CountryAsync(
IPAddress ipAddress
)
Function CountryAsync (
ipAddress As IPAddress
) As Task(Of CountryResponse)
Task<CountryResponse^>^ CountryAsync(
IPAddress^ ipAddress
)
abstract 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
See Also