locked
class library RRS feed

  • Question

  • User-158363518 posted

    hi every body .

    Can I return the Source Code of a class library?

    If the answer is yes:

    How can I return the Source Code of a class library?

    How can this be prevented?

    Thursday, July 26, 2018 4:41 AM

Answers

  • User-821857111 posted

    You can use a decompiler like Telerik's JustDecompile to obtain the source code of an existing class library (dll). If you want to prevent people being able to do that, you can use a code obfuscator. I don't know if there are any free ones available.

    https://www.google.com/search?q=obfuscator+.net

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 26, 2018 7:02 AM
  • User36583972 posted


    Hi cfcorp,

    Can I return the Source Code of a class library?

    If the answer is yes:

    How can I return the Source Code of a class library?

    How can this be prevented?



    I found a Open source tools : dnSpy. You can have a look.

    dnSpy : .NET assembly editor, decompiler, and debugger

    Protect Your Source Code from Decompiling or Reverse Engineering .NET Assemblies
    https://www.codeproject.com/Articles/1139773/Protect-Your-Source-Code-from-Decompiling-or-Rever


    Best Regards,

    Yong Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 27, 2018 2:15 AM

All replies

  • User-821857111 posted

    You can use a decompiler like Telerik's JustDecompile to obtain the source code of an existing class library (dll). If you want to prevent people being able to do that, you can use a code obfuscator. I don't know if there are any free ones available.

    https://www.google.com/search?q=obfuscator+.net

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 26, 2018 7:02 AM
  • User36583972 posted


    Hi cfcorp,

    Can I return the Source Code of a class library?

    If the answer is yes:

    How can I return the Source Code of a class library?

    How can this be prevented?



    I found a Open source tools : dnSpy. You can have a look.

    dnSpy : .NET assembly editor, decompiler, and debugger

    Protect Your Source Code from Decompiling or Reverse Engineering .NET Assemblies
    https://www.codeproject.com/Articles/1139773/Protect-Your-Source-Code-from-Decompiling-or-Rever


    Best Regards,

    Yong Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 27, 2018 2:15 AM