Ask the Expert

How can I get the source code of a DLL?

How can I get the source code of a DLL? Is it possible?

    Requires Free Membership to View

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 ( 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 ( The fact that Lutz protects his decompiler from prying eyes with Demeanor is proof enough for me.

This was first published in May 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: