Ways to get a Computers "ID"

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Ways to get a Computers "ID"

 
0
  #1
May 15th, 2009
For the moment I am getting the computers name with this code, but perheps there could be others and better ways to get a computers unique "ID".
I am searching for a way to identify a computer so a software can recognice that computer in order to work.

The very best way should be a way where that Unique "ID" just cant be changed because that specific "ID" is used by other recources and systemfiles of the computer, to make things work.

  1. SystemInformation::ComputerName;
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 38
Reputation: _Nestor is an unknown quantity at this point 
Solved Threads: 4
_Nestor _Nestor is offline Offline
Light Poster

Re: Ways to get a Computers "ID"

 
0
  #2
May 15th, 2009
You could use your hard drives serial number as a unique ID as you probably won't be removing it or you could use your MAC Address from the installed network interface card (NIC) however i would recommend using ther hard drive serial number as you can have more than one NIC and it is more likely to be changed than your hard drive
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,442
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1474
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Ways to get a Computers "ID"

 
0
  #3
May 15th, 2009
Originally Posted by _Nestor View Post
as you can have more than one NIC and it is more likely to be changed than your hard drive
Computers can also have multiple hard drives. And I've changed hard drives more frequently than NICs. Possibly there is some unique ID in the bios that can be retrieved, I don't know.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Re: Ways to get a Computers "ID"

 
0
  #4
May 15th, 2009
Yes, that is true, myself I have 4 harddrives actually but the idéa was interesting anyway.. I will start search for methods and see what I can come up with.

Originally Posted by Ancient Dragon View Post
Computers can also have multiple hard drives. And I've changed hard drives more frequently than NICs. Possibly there is some unique ID in the bios that can be retrieved, I don't know.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 38
Reputation: _Nestor is an unknown quantity at this point 
Solved Threads: 4
_Nestor _Nestor is offline Offline
Light Poster

Re: Ways to get a Computers "ID"

 
0
  #5
May 15th, 2009
Originally Posted by Ancient Dragon View Post
Computers can also have multiple hard drives. And I've changed hard drives more frequently than NICs.
To be honest you're right I think what I meant is get the ID of some piece of hardware you don't intend on changing and that can be the identifier.
You could also generate some unique ID and keep it in a text file. Then check the location you put it for the unique ID.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,442
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1474
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Ways to get a Computers "ID"

 
0
  #6
May 15th, 2009
>>I am searching for a way to identify a computer so a software can recognice that computer in order to work.

There really is no idiot-proof way to prevent someone from doing that. Its just like encryption code -- it only works for the novice. A good hacker could probably break any method you try to use.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Ways to get a Computers "ID"

 
1
  #7
May 15th, 2009
So, over a period of a couple of years, I do
- upgrade the RAM
- replace the hard disk
- replace the graphics card
- replace the NIC
- replace the motherboard and processor.

Do I still have the same machine?

Overly elaborate "machine locked" software only really serves to **** off genuine customers who paid for it, only to be met with abuse from the s/w vendor when they've "upgraded" the wrong thing.
The last thing you need is paying customers taking their business somewhere else!

People who pirate your s/w were going to pirate it anyway. Any s/w which is vaguely useful will be cracked (and with the internet, can be found by anyone willing to look).

You might be better served by spending your time on improving the features, and removing the bugs, so that more genuine people would want to buy it.
As opposed to spending time and money on people who were never going to give you any money to begin with.

"Nice security system, shame about the program" is all to common.

Or change your business model so you give the s/w away and you sell service to those that want it. The program in effect becomes an interactive advert for what you're really selling, and which is a lot harder to rip-off.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Re: Ways to get a Computers "ID"

 
0
  #8
May 15th, 2009
Yes that is true, I really understand the problem with this, as Ancient said a good hacker have thought about ´all´ the possible ways.
I might just choose a way and wait for it to be cracked
As I have seen you can almost search for any software out there and find cracked versions.

We can just hope for some honest people who like the feeling to buy it as it should be. I wonder what the statistic is for that
Last edited by Liszt; May 15th, 2009 at 6:36 pm.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,968
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso

Re: Ways to get a Computers "ID"

 
0
  #9
May 16th, 2009
You could get the computer's hard disk ID (hardware key), you can find some source code on how to do this here, but as already said the user can always replace a 'dead' part in his computer, so dealing with a unique computer ID will be way more difficult than it looks like on the first sight
Last edited by tux4life; May 16th, 2009 at 4:12 am.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 962
Reputation: MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice 
Solved Threads: 92
MosaicFuneral's Avatar
MosaicFuneral MosaicFuneral is online now Online
Posting Shark

Re: Ways to get a Computers "ID"

 
0
  #10
May 16th, 2009
I'm still mystified why people even bother to protect most software. When its lifespan/popularity will probably be to short to ever see a revenue drop, due to piracy.

Originally Posted by tux4life View Post
You could get the computer's hard disk ID (hardware key)
Quick few interrupts, yes. But I suffer hard-drive failure, all the time.
"Jedenfalls bin ich überzeugt, daß der Alte nicht würfelt."
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC