how to detect user ip changed asp.net cor code example
Example: net core get remote ip
var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();
var ip = _accessor.ActionContext.HttpContext.Connection.RemoteIpAddress.ToString();