| | |
Ways to get a Computers "ID"
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2008
Posts: 122
Reputation:
Solved Threads: 6
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.
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.
C++ Syntax (Toggle Plain Text)
SystemInformation::ComputerName;
•
•
Join Date: Apr 2008
Posts: 38
Reputation:
Solved Threads: 4
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
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.
•
•
Join Date: Oct 2008
Posts: 122
Reputation:
Solved Threads: 6
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.
but the idéa was interesting anyway.. I will start search for methods and see what I can come up with.•
•
Join Date: Apr 2008
Posts: 38
Reputation:
Solved Threads: 4
•
•
•
•
Computers can also have multiple hard drives. And I've changed hard drives more frequently than NICs.
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.
>>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.
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.
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.
- 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.
•
•
Join Date: Oct 2008
Posts: 122
Reputation:
Solved Threads: 6
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
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.
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."
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.
Quick few interrupts, yes. But I suffer hard-drive failure, all the time.
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
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
![]() |
Similar Threads
- Cannot Ping other computers in "edgeless network" configuration (Networking Hardware Configuration)
- google "keyword" question (Search Engine Optimization)
- Removal of "Home Search Assistant", "Search Extender", & "Shopping Wizard" (Viruses, Spyware and other Nasties)
- Wireless "B" networks not working anymore (Networking Hardware Configuration)
- I am unable to open the "Help" function in IE 6 Print Preview! (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: do CopyFile() DeletFile() function throw exception?
- Next Thread: Please Correct me
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news number output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






