UtilWebGeoLocate(IPAddress) Method

Estimates the real-world geographic location of an IPv4 address.

Definition

Namespace: DevCase.Core.Networking.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static GeoInfo GeoLocate(
	IPAddress address
)

Parameters

address  IPAddress
The IPv4 address to geolocate (eg. "128.0.0.0").

Return Value

GeoInfo
A GeoInfo instance that represents the geographic location info.

Remarks

About Geolocation: http://en.wikipedia.org/wiki/Geolocation

This geolocation service is powered by: http://geoiptool.com/

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

HttpListenerException The returned gegraphic location info is empty due to an unknown error. or The server cannot properly process the request. Please, ensure the host name or IP address is valid.

See Also