The trick to get the real serial number of hard drive

Last post 03-14-2008 8:49 PM by MojabSoftware. 4 replies.

Sort Posts:

  • The trick to get the real serial number of hard drive

    02-22-2008, 3:13 PM

    I have just published a blog post about a solution that works both in XP and Vista under user account privilage without using P/Invoke.

    Everyone knows how to get serial number of hard drives but it took me over 50 hours to figure out how to do it in .Net without any user privilage problem.

    Here is the direct link to the blog entry.

    Happy Coding!

  • Re: The trick to get the real serial number of hard drive

    02-22-2008, 8:24 PM
    • Star
      12,651 point Star
    • docluv
    • Member since 06-29-2002, 11:16 PM
    • Willow Spring NC
    • Posts 2,003
    • ASPInsiders
      TrustedFriends-MVPs

    Very cool stuff, you are to be commended for your hard work digging up these details and how to leverage them.

  • Re: The trick to get the real serial number of hard drive

    02-22-2008, 9:46 PM
    • Contributor
      3,152 point Contributor
    • pbromberg
    • Member since 06-25-2002, 9:13 AM
    • Orlando FL
    • Posts 500
    • TrustedFriends-MVPs

    Not bad at all. Now, if you really want to take it to "the next level" post a download of a static class library that will do all of it and all people have to do is compile it and set a reference to it.

    Can you do it? If you don't have download capability, use Windows Live SkyDrive public folder for the download, or  create a new http://code.msdn.microsoft.com/ profile and put it there.

    Now, How about it?

     

  • Re: The trick to get the real serial number of hard drive

    02-22-2008, 10:24 PM

    @ docluv and pbromberg Thank you for your replies.

     

    @ pbromberg

    Writing an API/Library comes with resposibility that I can't accept as we speak. My project called Smarties 2008 is taking 18 hours of my time every day. My mission is to make life easier for developers but at same time not to make them lazy or take away their creativities.

    In fairness I've already done more than my share on the matter Big Smile I don't want any credits or virtual points for my submissions either. If you are kind enough to read my next blog post that I just published then you would know why I have just said that.

  • Re: The trick to get the real serial number of hard drive

    03-14-2008, 8:49 PM

    I just published a follow up article with new findings that you might like to know about. Here is the link.

Page 1 of 1 (5 items)