Hi, is there any one implemented obfuscation before? I'm having issues with the usage of Reflection, because obfuscation will "encrypt" function and/or property names, strings, thus I cannot use Reflection in my code. Also for UI layer especially in databinding method.
Any one have tips n trick or guidelines?
Thanks.
Obfuscation is meant to deter reflection so what you are encountering is planned-by-design.
That said - it is not encryption. Look at it as merely, substituing and replacing characters in code. If obfuscation is done via a weak method (low iterations) through some community versions or something, it is possible for a human to intuitively "decipher" or defer whats going on in code. What people have done is look through that code and create another assembly to replace the obfuscated one. Again, that said - if the assemblies are all strong-kety signed than this would not work. A normal Reflection method will not be able to do this SO well.
Just visualize that obfuscation is there to mess up your metadata so people will find it harder to view your source when they use ildasm or .net reflector.
If you use the community edition of an obfuscation tool, based on what I knew back then .. they don't mess up with strings. That is the yucks part. But the commercial editions enable that for you.
I am not too sure whether there is a enterprise but free tool on this one..