Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all.

I am going to generate lock for my application. Now I need to know:

1. Which piece of computer hardware has unique serial number in compare of another computers to make it unique?

or

2. Which characteristic of computer hardware piece is unique?

TNX.
Posted
Updated 24-Jan-11 9:10am
v4

You could find this with google:

http://www.vcskicks.com/hardware_id.php[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Jan-11 21:14pm    
Google is indeed your a-vote-of-5 friend.
saeid2010 22-Jan-11 17:05pm    
Thanks John, But your link isn't valid.
Nish Nishant 22-Jan-11 18:20pm    
In what way is it not valid? It shows what you need to do to create a unique id for a machine.
saeid2010 23-Jan-11 0:34am    
Thanks for your point.
I accept that it shows how i search about hardware_id but his link isn't valid.
You could well be wasting your time.

Given that managed .NET applications can easily be reverse engineered with Reflector[^] and even obfuscated ones with other open source tools such as simple-assembly-explorer[^] it would not be difficult for someone to circumvent your protection scheme.
 
Share this answer
 
Comments
#realJSOP 20-Jan-11 18:03pm    
Shhhhh!! He'll be back asking more questions, and we'll be able to gain some rep points as a result. You're effectively killing the golden goose.
Henry Minute 20-Jan-11 18:04pm    
sorry
fjdiewornncalwe 20-Jan-11 19:34pm    
+5 if I could for this response, John...
Sergey Alexandrovich Kryukov 20-Jan-11 21:13pm    
Good point, Henry -- my 5.
(John, I don't count how many golden geese I ate already, so I don't care :-)
saeid2010 22-Jan-11 17:19pm    
Thanks.I know about Reflector and to obfuscate my application.
But, I am going to get target computer hardware_id and use it in my application's lock.
TNX for your answer
You can work on serial nos. of Processor and motherboard of the system to generate your lock. Your can merge their IDs too for this purpose.
 
Share this answer
 
Comments
saeid2010 23-Jan-11 15:37pm    
Thanks sk saini.I got serial of processor and motherboard for many computers.
I find out, some of computers have same processor id ,
also some of computers don't have motherboard's serial.
sk saini 25-Jan-11 4:50am    
As you've found that some systems can have same processor id. So for a merged id (processor + motherboard) your motherboard id will make it unique. And in case where motherboard id doesn't available only processor id will work (option can be provided). Beside this you can include some extra activation code and generate key with merge serials to make it more complicated.
saeid2010 25-Jan-11 11:29am    
You are right too. But it isn't safe.
For example i checked it for 10 computers in an institute. I got that all of them have same processor id and haven't motherboard's serial. So they will work by a key. this status may happen in another place.
Some while ago, I found that with google while looking for something similar ;)
 
Share this answer
 
Comments
saeid2010 25-Jan-11 3:19am    
Thanks for your answer.
It's very good.

Thanks for your answers.
Another article is [here]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900