Dot net assembly viewer? [closed]

2020-06-30 08:43发布

I have a dll that contains a dot net assembly - common intermediate language. The problem is that it's lacking documentation and I need to figure out the api like available classes, properties and methods, correct parameters to pass etc.

Whats the best way to do this. I need some sort of viewer/inspector but I couldn't find any.

Thanks.

标签: .net
4条回答
干净又极端
2楼-- · 2020-06-30 09:19

Please try ILSpy. It is very good tool to view the assembly info. Assembly Analyzer is another tool for analyzing the metadata and resources within a .NET assembly, as well as disassembling non-CLI executable files.

查看更多
Emotional °昔
3楼-- · 2020-06-30 09:19

JetBrains dotPeek works great and is free, highly recommend.

查看更多
家丑人穷心不美
4楼-- · 2020-06-30 09:24

Having tried a bunch of them (CodeReflect, Dis#, JustDecompile, ILSpy, dotPeek), one thing I realised is that most decompilers don't show you code in a very readable fashion. ILSpy is good, except that everything seem to be so cluttered. There are almost no new line at all between class members.

In that respect JustDecompile and dotPeek stand out. JustDecompile looks more polished with a slightly better interface to work with, except that it comes with a web installer, and you have to register as well in the process.

They all have strength and weaknesses, but my choice would be dotPeek which do not force you to register. It also comes with handy Visual Studio shortcuts which makes the whole experience familiar (for eg F12 to navigate to definition). With either of them you have a decent decompiler.

查看更多
\"骚年 ilove
5楼-- · 2020-06-30 09:29

Try reflector. http://www.red-gate.com/products/reflector/

Its free :-)

Edit:
As of February 2011, its no longer free ...:(
There are alternatives like ilspy or JetBrains dotPeek.

查看更多
登录 后发表回答