MapsGeolocationClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Geolocation service client.
public class MapsGeolocationClient
type MapsGeolocationClient = class
Public Class MapsGeolocationClient
- Inheritance
-
MapsGeolocationClient
Constructors
MapsGeolocationClient() |
Initializes a new instance of GeolocationClient. |
MapsGeolocationClient(AzureKeyCredential, MapsGeolocationClientOptions) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(AzureKeyCredential) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(AzureSasCredential, MapsGeolocationClientOptions) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(AzureSasCredential) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(TokenCredential, String, MapsGeolocationClientOptions) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(TokenCredential, String) |
Initializes a new instance of MapsGeolocationClient. |
Methods
GetCountryCode(IPAddress, CancellationToken) |
This service will return the ISO country code for the provided IP address. Developers can use this information to block or alter certain content based on geographical locations where the application is being viewed from. |
GetCountryCodeAsync(IPAddress, CancellationToken) |
This service will return the ISO country code for the provided IP address. Developers can use this information to block or alter certain content based on geographical locations where the application is being viewed from. |