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. HDD Serial Number

HDD Serial Number

Scheduled Pinned Locked Moved C#
csharphelpquestion
11 Posts 9 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.
  • S sasan56

    Hi Dears I want a code to find and get HDD Serial Number without WMI in Windows XP with Framework 2 or VS2005 (C# Language) Can anyone help me?

    B Offline
    B Offline
    Baconbutty
    wrote on last edited by
    #2

    Screwdriver - open case - remove housing - Eyes

    I still remember having to write your own code in FORTRAN rather than be a cut and paste merchant being pampered by colour coded Intellisense - ahh proper programming - those were the days :)

    T P 2 Replies Last reply
    0
    • B Baconbutty

      Screwdriver - open case - remove housing - Eyes

      I still remember having to write your own code in FORTRAN rather than be a cut and paste merchant being pampered by colour coded Intellisense - ahh proper programming - those were the days :)

      T Offline
      T Offline
      Thomas Stockwell
      wrote on last edited by
      #3

      That is very hard to write in C# though :)

      Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog

      V 1 Reply Last reply
      0
      • B Baconbutty

        Screwdriver - open case - remove housing - Eyes

        I still remember having to write your own code in FORTRAN rather than be a cut and paste merchant being pampered by colour coded Intellisense - ahh proper programming - those were the days :)

        P Offline
        P Offline
        Pedram Behroozi
        wrote on last edited by
        #4

        Screwdriver screw = new ScrewDriver();
        screw.OpenCase();
        screw.RemoveHousing();
        screw.Dispose(); // Be sure that always dispose your ScrewDriver.
        Eye eye = God.GiveMeSomeEyePlease(); // Be carefull not implementing God class itself!
        eye.SuspendLayout();
        eye.SeeMyHDDSerialNumber();
        eye.isMine = true;
        // No necessary to dispose Eye.

        While (true) { Human.isLearnable = true; }

        M 1 Reply Last reply
        0
        • S sasan56

          Hi Dears I want a code to find and get HDD Serial Number without WMI in Windows XP with Framework 2 or VS2005 (C# Language) Can anyone help me?

          P Offline
          P Offline
          Pedram Behroozi
          wrote on last edited by
          #5

          Just kidding ;P There's a DLL[^] but why don't you want to use WMI?

          While (true) { Human.isLearnable = true; }

          1 Reply Last reply
          0
          • S sasan56

            Hi Dears I want a code to find and get HDD Serial Number without WMI in Windows XP with Framework 2 or VS2005 (C# Language) Can anyone help me?

            J Offline
            J Offline
            J4amieC
            wrote on last edited by
            #6

            I want to bang in a nail but I dont want to use a hammer, the end of a pair of pliers or even the sole of my shoe. Can anyone help me?

            A 1 Reply Last reply
            0
            • J J4amieC

              I want to bang in a nail but I dont want to use a hammer, the end of a pair of pliers or even the sole of my shoe. Can anyone help me?

              A Offline
              A Offline
              Ashfield
              wrote on last edited by
              #7

              I always favour a rock as a good alternative :)

              Bob Ashfield Consultants Ltd

              J 1 Reply Last reply
              0
              • A Ashfield

                I always favour a rock as a good alternative :)

                Bob Ashfield Consultants Ltd

                J Offline
                J Offline
                J4amieC
                wrote on last edited by
                #8

                So the analogy is bust that case open to check the Serial number?

                1 Reply Last reply
                0
                • P Pedram Behroozi

                  Screwdriver screw = new ScrewDriver();
                  screw.OpenCase();
                  screw.RemoveHousing();
                  screw.Dispose(); // Be sure that always dispose your ScrewDriver.
                  Eye eye = God.GiveMeSomeEyePlease(); // Be carefull not implementing God class itself!
                  eye.SuspendLayout();
                  eye.SeeMyHDDSerialNumber();
                  eye.isMine = true;
                  // No necessary to dispose Eye.

                  While (true) { Human.isLearnable = true; }

                  M Offline
                  M Offline
                  Mark Salsbery
                  wrote on last edited by
                  #9

                  Pedram Behroozi wrote:

                  // No necessary to dispose Eye

                  You mean it's not derived from EyeDisposable? :)

                  Mark Salsbery Microsoft MVP - Visual C++ :java:

                  1 Reply Last reply
                  0
                  • T Thomas Stockwell

                    That is very hard to write in C# though :)

                    Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog

                    V Offline
                    V Offline
                    Vasudevan Deepak Kumar
                    wrote on last edited by
                    #10

                    Thomas Stockwell wrote:

                    very hard to write in C#

                    Simple: Console.WriteLine("Screwdriver - open case - remove housing - Eyes");

                    Vasudevan Deepak Kumar Personal Homepage
                    Tech Gossips
                    The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                    1 Reply Last reply
                    0
                    • S sasan56

                      Hi Dears I want a code to find and get HDD Serial Number without WMI in Windows XP with Framework 2 or VS2005 (C# Language) Can anyone help me?

                      realJSOPR Offline
                      realJSOPR Offline
                      realJSOP
                      wrote on last edited by
                      #11

                      Did you know the volume serial number changes every time you reformat the drive?

                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                      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