Net Core obtient une adresse IP distante
var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();
Dark Vargash
var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();
var remoteIpAddress = request.HttpContext.Connection.RemoteIpAddress;