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
)
Protected Function GetClientIp (
Optional request As HttpRequestMessage = Nothing
) As String
Parameters
- request (Optional)
- Type: System.Net.HttpHttpRequestMessage
The request from which to obtain the IP address.
Return Value
Type:
StringThe IP address.
See Also