C# add a reference using only code (no IDE “Add Reference” functions)

前端 未结 4 1423
攒了一身酷
攒了一身酷 2021-01-13 07:57

I am writting a plugin for a program, and I want to put my code inside a DLL so I can share the plugin freely without exposing (giving away) my code.

Here is the bas

4条回答
  •  日久生厌
    2021-01-13 08:19

    FYI, remember to use a tool like Red-Gate's .Net Reflector to inspect your DLL to make sure it is properly obfuscated. This free, visual tool lets you see the DLL as your users will see it so you'll know if your code is exposed

    alt text http://img149.imageshack.us/img149/2025/screenshotfullscreen.gif

    .Net comes with Dotfuscator Community Edition which can be used to obfuscate your code. No coding is required, see their user guide to learn your way around the GUI if you need help.

提交回复
热议问题