I want to check a file is corrupt or not before copying to another file which is actually a backup of 1st one and will be restored if something goes wrong with original file.
System.IO.File.Copy(FileA, FileB, true);
Sometimes my original file get corrupted and as i have no check for corruption while copying i also corrupt my backup file.
Any help will be appreciated.
Thanks,