IGeoIP2WebServicesClientCityAsync Method (IPAddress) |
Asynchronously query the GeoIP2 Precision: City web service for the specified IP address.
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax Task<CityResponse> CityAsync(
IPAddress ipAddress
)
Function CityAsync (
ipAddress As IPAddress
) As Task(Of CityResponse)
Task<CityResponse^>^ CityAsync(
IPAddress^ ipAddress
)
abstract CityAsync :
ipAddress : IPAddress -> Task<CityResponse>
Parameters
- ipAddress
- Type: System.NetIPAddress
The IP address.
Return Value
Type:
TaskCityResponseTask that produces an object modeling the City response
See Also