YetaWF.Core.GeoLocation Package Documentation

Display
Print

YetaWF.Core.GeoLocation.GeoLocation.GetUserInfoAsync Method

Retrieves geolocation information for a specified IP address.

Class: YetaWF.Core.GeoLocation.GeoLocation
Namespace: YetaWF.Core.GeoLocation
Assembly: YetaWF.Core.GeoLocation

Syntax

public Task<UserInfo?> GetUserInfoAsync( string ipAddress );

Parameters

ipAddress

The IP address for which geolocation is to be returned.

Return Value

Returns the geolocation information or null if none is available. An exception occurs if no requests can be issued.

See Also YetaWF.Core.GeoLocation.GeoLocation ClassYetaWF.Core.GeoLocationYetaWF.Core