Interface IIpResolver
Provides functionality to resolve the IP address of the current request.
Namespace: Umbraco.Cms.Core.Net
Assembly: Umbraco.Core.dll
Syntax
public interface IIpResolver
Methods
View SourceGetCurrentRequestIpAddress()
Gets the IP address of the current HTTP request.
Declaration
string GetCurrentRequestIpAddress()
Returns
| Type | Description |
|---|---|
| string | The IP address as a string. |