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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to get machine constats in .NET

how to get machine constats in .NET

Scheduled Pinned Locked Moved C#
csharptutorialquestion
20 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.
  • D Daniel Zaharia

    things like HDD serial number, processor serial number, etc. I’ve almost forgotten… it must work on Win 98 as well :doh:

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

    The information you need can be accessed by Windows Management Instrumentation (WMI). .NET offers ways to work with WMI. Take a look at this article[^].


    www.troschuetz.de

    D 1 Reply Last reply
    0
    • S Stefan Troschuetz

      The information you need can be accessed by Windows Management Instrumentation (WMI). .NET offers ways to work with WMI. Take a look at this article[^].


      www.troschuetz.de

      D Offline
      D Offline
      Daniel Zaharia
      wrote on last edited by
      #6

      Thanks man! I didn't know that it is possible to instal WMI on 98. Thanks, Daniel.

      1 Reply Last reply
      0
      • D Daniel Zaharia

        things like HDD serial number, processor serial number, etc. I’ve almost forgotten… it must work on Win 98 as well :doh:

        E Offline
        E Offline
        eggie5
        wrote on last edited by
        #7

        You can get all of this with dot .net. Actually there is a HDD serial number article on this site!!! Oh man! /\ |_ E X E GG

        D 1 Reply Last reply
        0
        • S Stefan Troschuetz

          Mmh, I'm pretty sure there is no easy way to get this with managed code. Sorry, maybe someone else can help!


          www.troschuetz.de

          E Offline
          E Offline
          eggie5
          wrote on last edited by
          #8

          your wrong foo! /\ |_ E X E GG

          S 1 Reply Last reply
          0
          • E eggie5

            You can get all of this with dot .net. Actually there is a HDD serial number article on this site!!! Oh man! /\ |_ E X E GG

            D Offline
            D Offline
            Daniel Zaharia
            wrote on last edited by
            #9

            I ca't find it..:(

            S E 2 Replies Last reply
            0
            • D Daniel Zaharia

              I ca't find it..:(

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

              I think he is referring to this[^]. Actually it use the WMI like i suggested, so it will give you a good example.


              www.troschuetz.de

              D 1 Reply Last reply
              0
              • E eggie5

                your wrong foo! /\ |_ E X E GG

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

                In some way I was, but I already corrected myself and I pointed him to WMI. And that's exactly what the article uses, you want him to read. Of course on condition that I found the right article as you provided no link.


                www.troschuetz.de

                E 1 Reply Last reply
                0
                • S Stefan Troschuetz

                  I think he is referring to this[^]. Actually it use the WMI like i suggested, so it will give you a good example.


                  www.troschuetz.de

                  D Offline
                  D Offline
                  Daniel Zaharia
                  wrote on last edited by
                  #12

                  Yes, it is the only one , and it uses WMI. I think this is the only way to do this with managed code.

                  S 1 Reply Last reply
                  0
                  • D Daniel Zaharia

                    Yes, it is the only one , and it uses WMI. I think this is the only way to do this with managed code.

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

                    Yeah, I think you won't get around this :) Besides, on searching I found another article[^] on WMI which may help you. Happy Programming


                    www.troschuetz.de

                    D 2 Replies Last reply
                    0
                    • S Stefan Troschuetz

                      Yeah, I think you won't get around this :) Besides, on searching I found another article[^] on WMI which may help you. Happy Programming


                      www.troschuetz.de

                      D Offline
                      D Offline
                      Daniel Zaharia
                      wrote on last edited by
                      #14

                      Thanks! Daniel

                      1 Reply Last reply
                      0
                      • S Stefan Troschuetz

                        Yeah, I think you won't get around this :) Besides, on searching I found another article[^] on WMI which may help you. Happy Programming


                        www.troschuetz.de

                        D Offline
                        D Offline
                        Daniel Zaharia
                        wrote on last edited by
                        #15

                        The problem with WMI is that i don't think it could be correctly installed by the setup program for all Windows OS.:(

                        1 Reply Last reply
                        0
                        • D Daniel Zaharia

                          I ca't find it..:(

                          E Offline
                          E Offline
                          eggie5
                          wrote on last edited by
                          #16

                          Your a bad searcher. How to retrieve REAL Hard Drive Serial Number[^] Punish yourself however you please. /\ |_ E X E GG

                          1 Reply Last reply
                          0
                          • S Stefan Troschuetz

                            In some way I was, but I already corrected myself and I pointed him to WMI. And that's exactly what the article uses, you want him to read. Of course on condition that I found the right article as you provided no link.


                            www.troschuetz.de

                            E Offline
                            E Offline
                            eggie5
                            wrote on last edited by
                            #17

                            yes I did. just look harder. /\ |_ E X E GG

                            S 1 Reply Last reply
                            0
                            • E eggie5

                              yes I did. just look harder. /\ |_ E X E GG

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

                              Yeah, now I see. Think the tiny delay of your answer made me missing it at first sight ;-)


                              www.troschuetz.de

                              E 1 Reply Last reply
                              0
                              • S Stefan Troschuetz

                                Yeah, now I see. Think the tiny delay of your answer made me missing it at first sight ;-)


                                www.troschuetz.de

                                E Offline
                                E Offline
                                eggie5
                                wrote on last edited by
                                #19

                                Probably. I forgive you. /\ |_ E X E GG

                                S 1 Reply Last reply
                                0
                                • E eggie5

                                  Probably. I forgive you. /\ |_ E X E GG

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

                                  Appreciate that :)


                                  www.troschuetz.de

                                  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