Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to view all the methods and classes created inside a dll file?

Tags:

.net

dll

Can i really see inside a dll file, for the methods or the classes that reside in the dll file?

like image 457
Tanuj Wadhwa Avatar asked Dec 04 '22 16:12

Tanuj Wadhwa


2 Answers

Add the dll to your project, then in visual studio

View Menu -> Object Browser

You would be able to see the publicly exposed methods and properties
Also you can open .net dll in the tool .Net Reflector, its very powerful tool and may let you see the code if its not obsfucated

like image 95
Habib Avatar answered May 24 '23 23:05

Habib


You can add them in Visual Studio as discussed in other answers but if you want to see the code and don't have a .pdb then you can use ILSpy (replacement for .NET Reflector)

See ILSpy downloads page

like image 41
Paul Sullivan Avatar answered May 24 '23 23:05

Paul Sullivan