Thanks for the update. But this also returns the same value "::1"
That's correct actually. ::1 is the IP V6 localhost IP address (ie.
equivalent to 127.0.0.1).
If you need IP V4 regular IP addresses you can turn off IP V6 on your net
connection.Or probably better convert an IP 6 Address using the Dns class.
This article should help:
http://aspnet.4guysfromrolla.com/articles/071807-1.aspx
Not sure though what the perf implications are of doing this.
+++ Rick ---
---
Rick Strahl
West Wind Technologies
www.west-wind.com/weblog
> Thanks for the update. But this also returns the same value "::1"
Mark Rae [MVP] - 12 Mar 2008 11:39 GMT
> This article should help:
> http://aspnet.4guysfromrolla.com/articles/071807-1.aspx
Indeed... :-)
> Not sure though what the perf implications are of doing this.
I haven't noticed any so far...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net