Click here to Skip to main content
15,917,597 members

Comments by Ying Chan (Top 5 by date)

Ying Chan 2-May-11 1:46am View    
What kind of protection scheme would you consider moderate, or even highly secure protection? I am interested into looking at those methods
Ying Chan 2-May-11 0:33am View    
K, the solution you provided worked perfectly. I created a custom entry point in my wpf app (now a library) and invoked that entry point with my loader.
Edit: I misread what you wrote. This is just a basic attempt to prevent people from executing the app directly.
Ying Chan 1-May-11 23:53pm View    
Just to clarify, I am toying with encryption where the WPF App in question is encrypted. A second exe accepts a key input which is used to decrypt the file, before loading the byte stream into memory and executes the program.
Ying Chan 1-May-11 23:42pm View    
Thanks for your comprehensive reply! That is exactly what I am aiming to do!
I shall attempt your solution of building the assembly into a library later today and get back to you.
Ying Chan 1-May-11 22:47pm View    
I tested the above code with an empty wpf app and got the same exception. I don't think its due to that