| View previous topic :: View next topic |
| Author |
Message |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Fri Jan 23, 2004 10:37 am Post subject: Unique computer id |
|
|
Hi,
does any of you know if there's some id which is unique for every computer in the world? I need it for registration perposes; I have thought about the hard drive's serial number, but I dunno if it's really unique... And this number must not change when the user reinstalls Windows, adds hardware or whatever.
Thanks,
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Jan 23, 2004 11:10 am Post subject: |
|
|
I would have thought that the hard drive serial number is unique enough for all practical purposes, and can be obtained using @volinfo(). If the computer has a network card, then its MAC address is unique. I don't know how you go about obtaining it programmatically, though. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Fri Jan 23, 2004 12:57 pm Post subject: |
|
|
judging by the feedback microsoft has had on their idea of using a unique id number based on a particular computer setup, i would be weary of going down that road
i have a program that is reasonably popular and that requires registration to access all its features...i ask people to fill in a basic registration form and then i send them their registration name + their name encrypted with blowfish.dll with a key of my choosing...of course, that arrangement is pre-built into my program so that only the correct registration and encryption will be accepted...i do this with all my programs in fact, even the ones i sell...so far i am happy with that arrangement and i have been doing this for a number of years...is there a reason why you do not like that option?
you could always make your own unique number...for example, if a hd has a serial number 423589 (i have no idea what they are) and if the system has 256 mb of ram, and if the system has a 2.1ghz cpu, you could come up with the number 42358925621 and then encrypt it or hex it or whatever to make it less obvious...it will not be totally unique but if you pick numbers from several components, what are the chances that 2 machines will have exactly the same number for each component...and as the old crusader said in indiana jones (about the cup of christ) "choose wisely" which component you want to use
you could even use the name of whatever component was used by the machine eg ibm would become 9213 (a=1, b=2,...)
hope this helps
serge _________________
|
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Fri Jan 23, 2004 1:21 pm Post subject: |
|
|
You could use:
vdsonline.dll to obtain the IP address of the network card, then use macid.dll to get the Mac ID of the network card using the IP address.
I think this would be a good idea, because very rarely would a network card develop a fault, but hard disks are prone to failure...
Nathan |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Jan 23, 2004 1:51 pm Post subject: |
|
|
| Rubes_sw wrote: | You could use:
vdsonline.dll to obtain the IP address of the network card, then use macid.dll to get the Mac ID of the network card using the IP address.
I think this would be a good idea, because very rarely would a network card develop a fault, but hard disks are prone to failure...
Nathan |
That's a lot of DLLs just to get a registration ID. And it's more than 15 years since I had a hard disk failure...
Personally I won't buy any software that is registered to a piece of hardware. In fact I argued quite hard with Emmanuel not to do this with VDS 5. I feel that it is too restrictive. For example, my main PC is a desktop PC but I also own a laptop. Most of the software I use is duplicated on the laptop so I can work away from the office if I need to. Also, as far as VDS is concerned, if I encounter a problem that appears peculiar to Win98 then I want to run it in the IDE on my wife's Win98 machine not be stuck trying to figure out what's going wrong when I can only run it under XP. How many copies of a product should a user have to pay for?
Another reason for not buying hardware-locked software is: what do you do if you change the hardware and need a new code, and then discover that the developer has got fed up with the poor sales and gone out of business? I would never buy a hardware-locked product because I don't want to find myself in the position of depending on a piece of software that I'm suddenly unable to use because of a hardware failure.
I think software developers are too obsessed with copy protection. The majority of computer users are honest and do pay for software if there is an incentive to do so. I think a large number of PC users today don't even realise you can download software anywhere other than download.com, and wouldn't know what to do with a crack unless you provided them with written instructions.
I strongly object to the use of protection measures that restrict the ability of the legitimate user to make full use of what they have paid for. The Windows market is saturated as it is so it's hard already to get buyers for shareware without giving people extra reasons to use some other product.
Just my opinion, of course. It's your software, so you can do what you want to. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Jan 23, 2004 1:54 pm Post subject: |
|
|
I agree with you Jules. I find it somewhat annoying that Microsoft has all
of this activation etc., because I like to re-install Windows about every
year to fix any problems that I can't fix myself. Pretty soon I'll run out
of licenses and have to call them.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Fri Jan 23, 2004 3:22 pm Post subject: |
|
|
Vic, you could also make something which connects to an online database once a month, which sends the IP, computer name and registration info to it. Then you can check if two people are using the same registration, and you can block them out for updates, etc.  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Jan 23, 2004 4:43 pm Post subject: |
|
|
That may brand one's app a spyware and may prove devastating for it's/authors future My 2 cents _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Fri Jan 23, 2004 5:11 pm Post subject: |
|
|
If you notify within the license what you transmit over the internet and you actually are only transfering such information then NO your app will not be considered spyware. I do this for all of my software and have not been branded as a spyware distributor. I only obtain the ORDER/SERIAL entered into the software and nothing more when the software connects to the net.
IMHO there is no reason to bind a registration to a certain hardware configuration. If a customer is willing to honestly purchase your software then they are more then willing to purchase more copies of your product if you price it right. For those that are willing to steal trust me they will find a way to do so, there will be cracks to patch out your protections and people will purchase your products with stolen credit cards to obtain serials.
You also need to think to yourself the amount of technical support requests you will receive because of hardware failure. I get close to 30-40 emails a month with people asking for their serial numbers again because their harddrive failed on them or something else in their PC gave up and they had to either fix the PC or buy another thus they need the serials for the products again. Now if you tied such serials to hardware you could have even more technical support requests.
Hardware failure is very rare but if you have alot of customers you will get some of those emails eventually. Also think of when a customer buys a new pc and wants to use the software on the new pc, they now have to contact you to flag their order to accept a new harddrive ID. More trouble then it's worth really. |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Jan 23, 2004 7:09 pm Post subject: also |
|
|
also to some computers don't have network cards to...so if a user wants to run your s/w on a machine like that then that could cuase a problem your best bet it to uses harddrive serial, AND windows product key  _________________ Have a nice day  |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Jan 24, 2004 2:01 am Post subject: |
|
|
I change Harddrives on a regular basis, as well as ethernet cards due
to the heavy use of these items on my systems. I will not buy any
software that uses such things for registration.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Sat Jan 24, 2004 2:12 pm Post subject: |
|
|
Thanks for all the replies
| Skit3000 wrote: | | Vic, you could also make something which connects to an online database once a month, which sends the IP, computer name and registration info to it. |
I already implemented that
| tim6389 wrote: | | also to some computers don't have network cards to...so if a user wants to run your s/w on a machine like that then that could cuase a problem |
The program I made is an library management system, so they all have a network card.
| Garrett wrote: | I change Harddrives on a regular basis, as well as ethernet cards due
to the heavy use of these items on my systems. I will not buy any
software that uses such things for registration. |
The users must buy licences per computer, and the network administrator can add and remove computers from their licence list... as long as they don't exceed their maximum number of licences. And I've build in an time delay between removing a computer and adding one again, so they can't switch between computer to use more licences then they have bought
Best regards,
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
|