Click here to Skip to main content
12,506,841 members (62,899 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

21.4K views
11 bookmarked
Posted

Displaying System IP address, Browser Name and Version

, 20 Nov 2011 CPOL
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.

License

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

Share

About the Author

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

You may also be interested in...

Pro
Pro

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.

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