How can I get the source code of a DLL?

How can I get the source code of a DLL? Is it possible?
Since this is a forum for asking .NET questions, I'm assuming your talking about .NET. The quick answer is it's easy with Lutz Roeder's Reflector for .NET (http://www.aisto.com/roeder/dotnet/). It's a decompiler for .NET assemblies and the price is absolutely right: free!

If the fact that it's trivial to decompile a .NET assembly scares the pants off you, you can always turn to an obfuscator. The best on the market, in my opinion, is Brent Rector's Demeanor (http://www.wiseowl.com). The fact that Lutz protects his decompiler from prying eyes with Demeanor is proof enough for me.

This was first published in May 2004

Dig deeper on Windows Operating System Management



Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:


This Content Component encountered an error