Click here to Skip to main content
15,914,323 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there!

If I have a DLL that has been sent to me by a third party, is there a way to find out if it has any System.IO references in it? I want to be sure that the DLL does not read or write to my disk.
Posted

If the DLL is a .Net DLL, you can use Reflector to disassemble it so you can take a peek at the actual code. There are also plugins for Reflector that allow you to output all the code for the DLL at once into a directory of CS files. You could then perform a text search on them to see if you find "System.IO". There might be an easier way, but that's the only way I know of.
 
Share this answer
 
Use "dumpbin" if you do not have reflector installed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900