gettingstarted
[Top] [All Lists]

Re: hard disk code

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: hard disk code
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Sat, 25 Sep 2004 20:01:55 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <1cc dot 2c300417 dot 2e876dd4 at aol dot com>
GAmoore at aol dot com wrote:

Is there a way of getting the hard disk serial number? I noticed several commercial software products I use, require you to authorize the software to only run on one computer. Is there some call you make to get this unique identifying number?

You can use the Win32 Declare Library on Windows to get the drive serial number. I'm not certain there's a way to do it on the Mac.

What systems are you targeting? Are you trying to make sure the number doesn't change if the system changes? Or do you just need a unique number? If the latter is true and you care about Windows, I'd suggest looking into generating a GUID.

HTH!

~Aaron
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>