How to obfuscate the CSharp code ?

  • Thread starter Thread starter Carla Simeoni
  • Start date Start date
C

Carla Simeoni

As far as I understood intermediate CSharp IC code can be retrieved resp. re-engineered
to a similar source code as the original.

Are there any options to obfuscate the code ?

Carla
 
There's apps available on the net. If you use Visual Studio 2005, there's a
Dotfuscator Community Edition that you could play around with.
 
Carla said:
As far as I understood intermediate CSharp IC code can be retrieved resp. re-engineered
to a similar source code as the original.

Are there any options to obfuscate the code ?

You can find various obfuscator products for .NET.

One of the better known is
http://www.remotesoft.com/salamander/obfuscator.html !

But consider if you really need it.

Decompiling to 500000 lines of code with:
* no comments in the code
* meaningless names for local variables
* no design documentation
* no developers with knowledge about the code
is not really producing anything of value.

Only use it if you need to protect something very
specific like special algorithms etc..

Arne
 
Decompiling to 500000 lines of code with:
* no comments in the code
* meaningless names for local variables
* no design documentation
* no developers with knowledge about the code
is not really producing anything of value.

What do you mean decompile, that is our source code ;)
 
The purpose of the obfuscation is not to modify the original source code.
It's so that people can't open up the IL assemply and see your entire
structure. Personally, I think everyone should be using some type of
obfuscating tool if they intend to resell their product. Not only to
protect their work, but to protect their clients.
 
macleod said:
The purpose of the obfuscation is not to modify the original source
code. It's so that people can't open up the IL assemply and see your
entire structure.

Yes.

Nobody said otherwise.

Did someone run an obfuscator on what I wrote ? :-)

I just argued that in most cases you would not care.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top