WebServiceClientCountryAsync Method (String) |
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 public Task<CountryResponse> CountryAsync(
string ipAddress
)
Public Function CountryAsync (
ipAddress As String
) As Task(Of CountryResponse)
public:
virtual Task<CountryResponse^>^ CountryAsync(
String^ ipAddress
) sealed
abstract CountryAsync :
ipAddress : string -> Task<CountryResponse>
override CountryAsync :
ipAddress : string -> Task<CountryResponse>
Parameters
- ipAddress
- Type: SystemString
The IP address.
Return Value
Type:
TaskCountryResponseTask that produces an object modeling the Country response
Implements
IGeoIP2WebServicesClientCountryAsync(String)See Also