Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: When my C# interop with MC++, the local variable out of scope. Pin
tiancaidao10-Feb-06 2:35
tiancaidao10-Feb-06 2:35 
QuestionCristian clock synchronization Algorithm on distributed OS Pin
BestArtemis9-Feb-06 22:07
BestArtemis9-Feb-06 22:07 
AnswerRe: Cristian click synchronization Algorithm on distributed OS Pin
leppie9-Feb-06 23:40
leppie9-Feb-06 23:40 
AnswerRe: Cristian clock synchronization Algorithm on distributed OS Pin
Dave Kreskowiak10-Feb-06 5:16
mveDave Kreskowiak10-Feb-06 5:16 
Questionhow to encrypt/decrypt exe file on the fly ? Pin
hdv2129-Feb-06 22:04
hdv2129-Feb-06 22:04 
AnswerRe: how to encrypt/decrypt exe file on the fly ? Pin
leppie9-Feb-06 23:45
leppie9-Feb-06 23:45 
GeneralRe: how to encrypt/decrypt exe file on the fly ? Pin
Ingo10-Feb-06 3:15
Ingo10-Feb-06 3:15 
AnswerRe: how to encrypt/decrypt exe file on the fly ? Pin
Dave Kreskowiak10-Feb-06 5:14
mveDave Kreskowiak10-Feb-06 5:14 
You can't encrypt an .EXE and have it decrpyt itself when launched. If you encrypt the entire .EXE, it's no longer a valid image and won't launch. You have to have some kind of wrapper around the .EXE, kind of like how WinZip wraps a .ZIP file with a self-extractor module. This wrapper code would have to decrypt the wrapped .EXE into memory, essentially replacing the Loader built into Windows (Good Luck with that!). Decrpyting the .EXE to a file and launching that would render your protection useless in about 5 seconds while the user quickly copies the new .EXE file to another location!

While on the surface this sounds like a good idea, it's also your protection scheme's achilles heel. There nothing you can do to stop someone from using your own security wrapper to decode the .EXE, save it to a file, and then just use and distribute the decrypted version.

In every copy protection scheme so far, the protection scheme can be defeated simply because of it's own existance! Every protection scheme gives itself away because it has to run in a machine where anyone can attach a debugger to it and watch it run to see what it's doing. With the information gleened from the debugger, it's simply a short matter of time before the protection is defeated. Usually using the protection code against itself to "delivery the goods".


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionDOS program output problem!! Pin
TheNewNewGuy9-Feb-06 21:59
TheNewNewGuy9-Feb-06 21:59 
AnswerRe: DOS program output problem!! Pin
leppie9-Feb-06 23:48
leppie9-Feb-06 23:48 
AnswerRe: DOS program output problem!! Pin
Dave Kreskowiak10-Feb-06 5:01
mveDave Kreskowiak10-Feb-06 5:01 
GeneralRe: DOS program output problem!! Pin
TheNewNewGuy11-Feb-06 1:32
TheNewNewGuy11-Feb-06 1:32 
GeneralRe: DOS program output problem!! Pin
Dave Kreskowiak11-Feb-06 3:32
mveDave Kreskowiak11-Feb-06 3:32 
GeneralRe: DOS program output problem!! Pin
TheNewNewGuy12-Feb-06 0:03
TheNewNewGuy12-Feb-06 0:03 
GeneralRe: DOS program output problem!! Pin
Dave Kreskowiak12-Feb-06 2:17
mveDave Kreskowiak12-Feb-06 2:17 
QuestionCustom Object used with Profile Object Pin
kloepper9-Feb-06 19:55
kloepper9-Feb-06 19:55 
QuestionHow to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 18:13
professionalcoby cai9-Feb-06 18:13 
AnswerRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 19:29
DigitalKing9-Feb-06 19:29 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 19:54
professionalcoby cai9-Feb-06 19:54 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 20:12
DigitalKing9-Feb-06 20:12 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 20:19
professionalcoby cai9-Feb-06 20:19 
AnswerRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 20:31
DigitalKing9-Feb-06 20:31 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 21:44
professionalcoby cai9-Feb-06 21:44 
QuestionDLLs - Creating Pin
Expert Coming9-Feb-06 17:58
Expert Coming9-Feb-06 17:58 
AnswerRe: DLLs - Creating Pin
rakesh_nits9-Feb-06 18:10
rakesh_nits9-Feb-06 18:10 

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.