NET CORE GET IP REMOTO

var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();
Dark Vargash