Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Class IPAddressResolver

Component that resolves ip addresses.

Inheritance
System.Object
IPAddressResolver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class IPAddressResolver

Constructors

IPAddressResolver()

Initializes a new instance of the IPAddressResolver class.

Declaration
public IPAddressResolver()

IPAddressResolver(IClientIPAddressResolver)

Initializes a new instance of the IPAddressResolver class.

Declaration
public IPAddressResolver(IClientIPAddressResolver clientResolver)
Parameters
Type Name Description
IClientIPAddressResolver clientResolver

The resolver.

Methods

ResolveClientAddress(HttpContextBase)

Resolves the client address from a http context.

Declaration
public virtual IPAddress ResolveClientAddress(HttpContextBase httpContext)
Parameters
Type Name Description
System.Web.HttpContextBase httpContext

The HTTP context.

Returns
Type Description
System.Net.IPAddress

Extension Methods