Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. System Informations

System Informations

Scheduled Pinned Locked Moved C#
csharpquestionasp-nethelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    ozgul
    wrote on last edited by
    #1

    Hi everbody, How can i get system informations(cpu,ram,hdd,ip,user name...) using c#? Also, how can i post this informations to asp.net web page? Please help me? Thanks...

    S 1 Reply Last reply
    0
    • O ozgul

      Hi everbody, How can i get system informations(cpu,ram,hdd,ip,user name...) using c#? Also, how can i post this informations to asp.net web page? Please help me? Thanks...

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Take a look at this article here on Code Project.


      www.troschuetz.de

      O 1 Reply Last reply
      0
      • S Stefan Troschuetz

        Take a look at this article here on Code Project.


        www.troschuetz.de

        O Offline
        O Offline
        ozgul
        wrote on last edited by
        #3

        Thanks to reply my message, this article is very good. However, can i post this informations to asp.net web page? Can u help me? A lot of thanks...

        S D 2 Replies Last reply
        0
        • O ozgul

          Thanks to reply my message, this article is very good. However, can i post this informations to asp.net web page? Can u help me? A lot of thanks...

          S Offline
          S Offline
          Stefan Troschuetz
          wrote on last edited by
          #4

          Sure and there are many ways to do this depending on how you want to display the information. For example you could insert a Literal control into your page and use its Text property to dynamically fill it with the information. The following example should show the you the principle and doesn't claim to be 100% correct:

          <script runat="server">
          void Page_Load(object sender, EventArgs e)
          {
          //retrieve info via wmi and assign it
          this.literal1.Text = "Your info";
          }
          </script>
          <html>
          <body>
          <asp:Literal id="literal1" runat="server" />
          </body>
          </html>


          www.troschuetz.de

          1 Reply Last reply
          0
          • O ozgul

            Thanks to reply my message, this article is very good. However, can i post this informations to asp.net web page? Can u help me? A lot of thanks...

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Just to clarify... using C# and WMI, you'll get the information for the server, not the client. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups