That sounds unnecessarily complicated.
Just use :
Request.UserHostAddress.ToString()
or
Request.ServerVariables("REMOTE_ADDR")
Juan T. Llibre, asp.net MVP
aspnetfaq.com :
http://www.aspnetfaq.com/
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
"Winista" <naveenkohli@hotmail.com> wrote in message news:%23RZFWGgSGHA.5924@TK2MSFTNGP09.phx.gbl...[color=blue]
> See if this helps..
>
>
http://www.netomatix.com/machineip.aspx
>
>
> --
> Netomatix
>
http://www.netomatix.com
> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
> news:6922D49F-4B44-42B0-9991-F71CFB42DF18@microsoft.com...[color=green]
>> Hi, guys,
>>
>> Do we have a .net function to find out what is the IP address of IIS server?
>>
>> Thanks.[/color]
>
>[/color]