on some networks the below code gives IPV4 and on some it returns the IPV6.We are getting these details from the header.
string _ipList = page.Request.Headers[“CF-CONNECTING-IP”].ToString();
if (!string.IsNullOrWhiteSpace(_ipList))
{
ClientIP = _ipList.Split(‘,’)[0].Trim();
}
we consistently need an IP4 address if possible to verify end users. Is there a way to override the IPV6 and return the IPV4 everytime?