Answer the question
In order to leave comments, you need to log in
How to obfuscate C# source code?
Hello dear experts! On the agenda (and for me - on the agenda of the entire previous week) is, and quite acutely, the question - how to obfuscate the C # resource?
Answer the question
In order to leave comments, you need to log in
The best option, in my opinion, is the Roslyn compiler / analyzer, which is supported by Microsoft and, accordingly, will work with any correct C # code (which would be difficult to achieve with a homemade parser / code generator).
Roslyn on GitHub: https://github.com/dotnet/roslyn
Useful links: https://docs.microsoft.com/ru-ru/visualstudio/exte...
Articles about code generation:
1. https://msdn .microsoft.com/en-us/magazine/mt707527.aspx
2. https://msdn.microsoft.com/en-us/magazine/mt808499.aspx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question