Interface IUserRequestIPAddressController
Namespace: DotNetNuke.Services.UserRequest
Assembly: DotNetNuke.dll
Syntax
public interface IUserRequestIPAddressController
Methods
| Improve this Doc View SourceGetUserRequestIPAddress(HttpRequestBase, IPAddressFamily)
To retrieve IPv4/IPv6 of user making request to application.
Declaration
string GetUserRequestIPAddress(HttpRequestBase request, IPAddressFamily ipFamily)
Parameters
Type | Name | Description |
---|---|---|
HttpRequestBase | request | |
IPAddressFamily | ipFamily |
Returns
Type | Description |
---|---|
System.String | IP address. |
GetUserRequestIPAddress(HttpRequestBase)
To retrieve IPv4 of user making request to application.
Declaration
string GetUserRequestIPAddress(HttpRequestBase request)
Parameters
Type | Name | Description |
---|---|---|
HttpRequestBase | request |
Returns
Type | Description |
---|---|
System.String | IP address. |