get device ip address from service provider ip address
<p>I need get the local machine ip address of my website visited users for that i used below code </p>

<pre><code> string ipAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
                if (!string.IsNullOrEmpty(ipAddress))
                {
                    string[] addresses = ipAddress.Split(',');

                    if (addresses.Length != 0)
                    {
                        stradd = addresses[0];
                    }
                    else
                    {
                        stradd = ipAddress;
                    }
                }
                else
                {
                    stradd = Request.ServerVariables["REMOTE_ADDR"].ToString();
                }

                hostName = Dns.GetHostByAddress(stradd).HostName;
</code></pre>

<p>this is giving the ip address of the service provider &amp; name of the service provider but i don't want this i wanted user device(local) ip address, is it possible to get local ip address? please help me. </p>
