Get Web User IP Address for Local Network Web Application

This is going to work only for Local network Web Application, it will return proxy’s IP if anyone using Proxy to connect your Web Application.


string userIpAddress = Request.UserHostAddress.ToString();

Thanks
A Rahim Khan

About these ads
  1. Do you have a spam problem on this site; I also am a blogger, and
    I was wanting to know your situation; many of us have created some nice methods and
    we are looking to swap techniques with others, please shoot
    me an email if interested.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 74 other followers

%d bloggers like this: