Friday, November 30, 2012

Compare two dll files programmatically using Hash - CodeProject

DLL Icon
DLL Icon (Photo credit: Wikipedia)
Never know when this will be handy!

In the past days I needed to compare two .NET assemblies to see if they are functionally the same. As you may know, when you build the same project several times the resulting output .dll or .exe file is always different. That's because of the ModuleVerisonId property(MVID). So in order to check if two assemblies are the same we can disassemble them to IL code and compare them.

Compare two dll files programmatically using Hash - CodeProject
Enhanced by Zemanta

No comments: