locked
Encrypt DLL files under a IIS web application RRS feed

  • Question

  • User-2057988192 posted

    I know that there are some tools that can decrypt dll files and turn them back to c# code.

    Is there any free tool to help encrypt the files in advance, so that the customer won't be able to do that?

    I must mention I am working with Visual Studio 2019

    and i have a web application (IIS)

    Thanks

    Friday, April 10, 2020 3:26 PM

All replies

  • Friday, April 10, 2020 3:45 PM
  • User-474980206 posted

    .net dll’s are not encrypted, they are compiles IL code. They can be decompiled. The preview version of vs2019 has decompile supports builtin for debugging compiled dlls. There are programs that obfuscate your code (make decompiled less readable by changing variable names), but they really are just to make you feel good.

    if you don’t want customers to access your code, then go the software as a service route, and host the code.

    Friday, April 10, 2020 3:52 PM