Click here to Skip to main content
15,794,120 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to encrypt or hide my enumerations on decompiling
i tried many applications to protect my code but the enumerations remains as it is

1 solution

I have yet to meet an obfuscator which doesn't convert enums in code to an unreadable form: the exception is the text names which are needed as part of the enum for using in ToString and Enum.Parse operations, which have to return the enum text or your application could fail.

So if you have used a particular obfuscator and it doesn't hide the names in your code, it's possible you are expecting something that obfuscation can't give you!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900