The below VB.net Console Application will simply return the MD5 hash of a file you pass to it as an argument.

Exmaple Usage:

“C:\test\File_MDS_Hash_Generator.exe” C:\Program Files (x86)\Microsoft Office\OFFICE11\EXCEL.EXE <enter>
3D478B8AF281FA52E8EF1BD9E7895DA5

Do NOT enclose the argument with quotes even if your path contains spaces or you will get an nasty error.

 

Author: Phil Eddies

I am an IT Operations Manager, managing all aspects of the IT infrastructure and service for a mid sized UK based company. I have been working full time in IT since 2001 in 1st to 3rd line and System Administration roles. MCSA, MCSE, CCNA, Citrix CCA