title: How to detect a corrupted file before opening it in C#
body: <p>I have some files which have been corrupted and I want to detect which file is corrupted before opening it. I used FileInfor class but useless. </p>