Homer,
You can decompile pretty much any dll that is not obfuscated. Since
..NET assemblies are IL instructions, it's easier to take those instructions
and determine what code was used to generate them (a good decompiler is
Reflector .NET by Lutz Roeder).
In order to protect against this, you want to use obfuscators. VS.NET
2005 will come with one by default (a third-party product named Dotfuscator,
and it is the community edition). Obfuscation is only as good as the
algorithm used. If the algorithm is weak, then some tools will be able to
get around it. Keep this in mind when choosing obfuscators (basically,
check to see if anyone figured out a way to decompile an assembly obfuscated
with that product).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Homer Simpson" <homer@moe's.com> wrote in message
news:ea**************@TK2MSFTNGP14.phx.gbl...
Hi Everyone,
How secure are C# DLLs? I knowVBA can easily be opened with a variety of
tools found on the internet but how about C#? How can I make my DLLs more
secure?
Thanks,
Scott