0

I've asked a question here before, about protecting an application from being stolen and I've got an answer.

I decided to use confuserEX which is free and works fine with WPF. But when I checked the documentation, I noticed that it renames all the strings in the code with other meaningless strings.

My question is that, if any string is replaced with another meaningless string how can I used my own dll to access public members or functions of a class inside it?

Majid khalili
  • 520
  • 1
  • 4
  • 24
  • 4
    Do you have reason to believe that anyone would *want* to go to the trouble of figuring out your obfuscated code to use your dll's? – eddie_cat Oct 27 '14 at 14:35
  • 4
    Don't worry about your code getting stolen. The best you can do is to obfuscate your code, *(which you did)* but still it can be decompiled. If your code/logic is so much important, then have it on your server and expose it through a web service. Other than that you can't really do much to secure your code. – Habib Oct 27 '14 at 14:36
  • yeah because it contain some useful classes that really worse it , i think – Majid khalili Oct 27 '14 at 17:19
  • 3
    Are you working for Google on their secret projects? I am sure that everything U wrote, has been written 100,000 times. On the matter - confuser makes decompiling impossible. Try to use decompiler on Confuser-obfuscated dll. It shows that dll is broken. – T.S. Aug 25 '15 at 19:28

1 Answers1

3

Public types and members are generally not obfuscated, so if there is code in your DLL that your app can call into from the outside, chances are that anyone else can call into it. There's not much you can do about that. If you have code that you don't want someone reverse engineering, then have that code run on a server that you control, as @Habib suggests.

Mike Strobel
  • 25,075
  • 57
  • 69