I'm trying to compare the user IP address with the one in text format like "192.168.1.1".
Request.UserHostAddress.ToString () return string like "fe80::5161:9f74:13bd:960d%9". Definitely those two strings are not same.
How can I compare those two strings (IPs)? I've tried with NameValueCollection. But I dont' know how to make it work.
Could I please get some suggestions? Thank in advance...