WebServiceClientCityAsync Method (IPAddress) |
Asynchronously query the GeoIP2 Precision: City web service for the specified IP address.
Namespace: MaxMind.GeoIP2Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntaxpublic Task<CityResponse> CityAsync(
IPAddress ipAddress
)
Public Function CityAsync (
ipAddress As IPAddress
) As Task(Of CityResponse)
public:
virtual Task<CityResponse^>^ CityAsync(
IPAddress^ ipAddress
) sealed
abstract CityAsync :
ipAddress : IPAddress -> Task<CityResponse>
override 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
Implements
IGeoIP2WebServicesClientCityAsync(IPAddress)
See Also