Click or drag to resize

BaseControllerGetClientIp Method

Returns the current client IP address.

Namespace:  NetQuarry.Web.API
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected string GetClientIp(
	HttpRequestMessage request = null
)

Parameters

request (Optional)
Type: System.Net.HttpHttpRequestMessage
The request from which to obtain the IP address.

Return Value

Type: String
The IP address.
See Also