Click here to Skip to main content
15,892,804 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Michael Schubert12-Jun-08 12:42
Michael Schubert12-Jun-08 12:42 
GeneralRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Larry Mills Sr12-Jun-08 12:48
Larry Mills Sr12-Jun-08 12:48 
QuestionRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Michael Schubert12-Jun-08 12:51
Michael Schubert12-Jun-08 12:51 
GeneralRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Nelek12-Jun-08 21:18
protectorNelek12-Jun-08 21:18 
GeneralRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Larry Mills Sr13-Jun-08 2:12
Larry Mills Sr13-Jun-08 2:12 
GeneralRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Nelek13-Jun-08 3:09
protectorNelek13-Jun-08 3:09 
GeneralRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Larry Mills Sr14-Jun-08 2:08
Larry Mills Sr14-Jun-08 2:08 
GeneralRe: How to copy CPU Electronic Serial Number during Installation of a program Pin
Nelek15-Jun-08 22:28
protectorNelek15-Jun-08 22:28 
I don't know which parameters read or how to make it (I am not so skilled as other replying the post) but if I should have to do that I would make a little app to retrieve some data that are computer dependant (the others will help you better with that) in two different versions (only write and read-write capable), create a file and save the info you need in that file. You can then send them the "write-only" asking them to execute it in the target computer and to mail you back the report-file with the info you need before giving the unlocked version of the software.

To lock/unlock the software in a general way you can use an app-external file (like *.ini, *.dat or something like that) that you sent back with almost the same data asked before, but in other order of appearance (for more security). Then add a function at the start up of your application.

In Pseudo-Code it could be something like...

Open the Unlock file
Get saved ComputerInfo_1
Place it in Buffer_1

Get the computer local info in runtime
Save it in buffer_2

if Compare buffer_1 and buffer_2 is true
continue with the app // unlocked version
else
close app // locked version



I would make it like that, is the same principle as the MD5-encrypted password checking when you want to log in into a CISCO router. You first connect "locally" to the router and gives the admin pass and it is saved with MD5, then when you want to log in... you will be asked for pass another time, it will be encrypted as well and the router compares both encrypted results locally (the saved one and the one you are checking atm)

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.

QuestionIs C# a JOKE? [modified] Pin
bigchump12-Jun-08 11:06
bigchump12-Jun-08 11:06 
AnswerRe: Is C# a JOKE? Pin
Baltoro12-Jun-08 13:01
Baltoro12-Jun-08 13:01 
GeneralRe: Is C# a JOKE? Pin
bigchump12-Jun-08 13:12
bigchump12-Jun-08 13:12 
GeneralSearched at MSDN Pin
Baltoro12-Jun-08 13:38
Baltoro12-Jun-08 13:38 
GeneralRe: Is C# a JOKE? Pin
Simon P Stevens12-Jun-08 22:28
Simon P Stevens12-Jun-08 22:28 
AnswerRe: Is C# a JOKE? Pin
Alan Balkany13-Jun-08 4:57
Alan Balkany13-Jun-08 4:57 
GeneralRe: Is C# a JOKE? Pin
bigchump13-Jun-08 6:11
bigchump13-Jun-08 6:11 
GeneralRe: Is C# a JOKE? Pin
Alan Balkany13-Jun-08 6:25
Alan Balkany13-Jun-08 6:25 
GeneralRe: Is C# a JOKE? Pin
bigchump13-Jun-08 9:19
bigchump13-Jun-08 9:19 
GeneralRe: Is C# a JOKE? Pin
Alan Balkany13-Jun-08 11:22
Alan Balkany13-Jun-08 11:22 
QuestionReadDirectoryChangesW Problem~~~ Pin
york52812-Jun-08 8:13
york52812-Jun-08 8:13 
AnswerRe: ReadDirectoryChangesW Problem~~~ Pin
Nibu babu thomas12-Jun-08 17:26
Nibu babu thomas12-Jun-08 17:26 
GeneralRe: ReadDirectoryChangesW Problem~~~ Pin
york52812-Jun-08 18:30
york52812-Jun-08 18:30 
GeneralRe: ReadDirectoryChangesW Problem~~~ Pin
york52812-Jun-08 19:18
york52812-Jun-08 19:18 
GeneralRe: ReadDirectoryChangesW Problem~~~ Pin
Nibu babu thomas12-Jun-08 19:39
Nibu babu thomas12-Jun-08 19:39 
GeneralRe: ReadDirectoryChangesW Problem~~~ Pin
york52812-Jun-08 20:18
york52812-Jun-08 20:18 
GeneralRe: ReadDirectoryChangesW Problem~~~ Pin
Nibu babu thomas12-Jun-08 20:23
Nibu babu thomas12-Jun-08 20:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.