WebServiceClientCityAsync Method (String) |
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 public Task<CityResponse> CityAsync(
string ipAddress
)
Public Function CityAsync (
ipAddress As String
) As Task(Of CityResponse)
public:
virtual Task<CityResponse^>^ CityAsync(
String^ ipAddress
) sealed
abstract CityAsync :
ipAddress : string -> Task<CityResponse>
override CityAsync :
ipAddress : string -> Task<CityResponse>
Parameters
- ipAddress
- Type: SystemString
The IP address.
Return Value
Type:
TaskCityResponseTask that produces an object modeling the City response
Implements
IGeoIP2WebServicesClientCityAsync(String)See Also