I am trying to get IP V4 of client's machine in asp.net, I tried below piece of code:
Request.ServerVariables["REMOTE_ADDR"]; Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; Request.UserHostAddress;
But these all giving me IP V6 of client machine, How can I get IP V4 ? Any help or suggestion will be appreciated.
