Click here to Skip to main content
Click here to Skip to main content

Tagged as

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
Follow on   Twitter

Comments and Discussions

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

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

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

| Advertise | Privacy | Mobile
Web04 | 2.8.140814.1 | Last Updated 20 Nov 2011
Article Copyright 2011 by vinoth kumar rajendran
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid