Click here to Skip to main content
13,090,446 members (49,053 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


11 bookmarked
Posted 17 Nov 2011

Displaying System IP address, Browser Name and Version

, 20 Nov 2011
Rate this:
Please Sign up or sign in to vote.
protected void Page_Load(object sender, EventArgs e)
        HttpBrowserCapabilities bc = Request.Browser;
        Label1.Text = "IP Address=" + Request.UserHostAddress;
        Label2.Text = "Browser Name=" + bc.Browser;
        Label3.Text = "Browser Version=" + bc.Version;

Using the above code, you will find IP address, Browser Name and Version.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

vinoth kumar rajendran
Software Developer (Junior) Hp finsoft
India India
No Biography provided

You may also be interested in...


Comments and Discussions

Generalif i want to know the ipaddress of anyone entering my websit... Pin
suhail517-Nov-11 19:15
membersuhail517-Nov-11 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170813.1 | Last Updated 20 Nov 2011
Article Copyright 2011 by vinoth kumar rajendran
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid