Click here to Skip to main content
15,567,415 members
Articles / Desktop Programming / Windows Forms
Posted 15 May 2008


14 bookmarked

Verify the integrity of directory trees using Checksum Verifier

Rate me:
Please Sign up or sign in to vote.
4.33/5 (3 votes)
15 May 2008Ms-PL1 min read
A small utility to verify checksums.


In this article, I am introducing a small utility developed for catering some of my daily chores. I have an environment in which several replica (wozking copies) of the same code repository exist. The problem started to arose when the source tree grew to a higher level and daily changes from different locations increased at a higher level. For getting the same source to everywhere, I needed to compare the source tree and find the source files which were modified. Although there were several utilities for doing this task, I was not able to find any utility which could compare two hierarchical source trees and export the result to CSV format. As a result, I designed a small utility for catering to my specific needs.

Using the Utility

After extracting the binary distribution, you will find an executable, ChecksumVerifier.exe. Start the utility from ChecksumVerifier.exe.

The first screen will be as follows:


Now, click  to select the directory trees to compare.


Click Start Compare to perform the checksum verification.


When the verification is going on, you will be able to see the results, if the files are identical or they are different. Different files will be shown by red highlighting with a yellow fore ground. Once the verification will complete, you will be prompted to export the result to a CSV file.

Image 4

Select Yes to export the report into CSV format. Enter the filename to save the report:


The exported result will be like:

Image 6

Points of interest

I hope this will be useful for someone, and will avoid duplication of efforts by some needful.


  • Revision 1.0 - May 16, 2008 - Initial revision.


This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Written By
Architect Oracle
Canada Canada
Ashutosh is an avid programmer, who “lives to code”. One can always find him busy seeking challenging programming assignments on various complex problems ranging from Data management, Classification, Optimization, Security, Network analysis, Distributed computing.

He started his programming stint with “C”; he has also worked on C++, Visual Basic, JAVA, Perl, FoxPro, PASCAL, Shell Scripting, and Perl. Currently, he is proficient and working on C#.

His area of interest includes Distributed Computing, Analytic and Business Intelligence, Large Enterprise System Architectures, Enterprise Content Management.

He is an advocate of Open source and likes to share solutions with open source communities like
1.Stack Overflow
2. nHibernate

Award's :
Prize winner in Competition "Best article of May 2008"

Articles :
Click to see my CodeProject Articles

Blog :
Share a solution | Explore the .NET world

Link'd :

His Favorite(s) :
nHibernate - The best ORM.
nHibernate Contributed Tools

Comments and Discussions

GeneralNice tool -- only one small observation Pin
Gautam Sharma28-Oct-09 3:41
Gautam Sharma28-Oct-09 3:41 
Nice tool... this is what i needed.
Only one this.. i dono whether you kept it purposely or not... but still wanted to bring under your notice.

while processing(Comparing) a lable is getting displayed at the bottom of the form that is overlapint the export button.. which when maximised looks ok.. but when in normal mode. it overlaps..
otherwise .. This tool is cute.


Happy coding

GeneralRe: Nice tool -- only one small observation Pin
Ashutosh Phoujdar28-Oct-09 5:44
Ashutosh Phoujdar28-Oct-09 5:44 
GeneralNice .... Pin
Abhijit Jana20-May-08 3:04
professionalAbhijit Jana20-May-08 3:04 
GeneralRe: Nice .... Pin
Ashutosh Phoujdar20-May-08 6:36
Ashutosh Phoujdar20-May-08 6:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.