NET Core Get Remote IP
var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();
Dark Vargash
var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();