File's modification date in C# -
i have write application, compare modification date of 2 files. these files excel workbooks. first file located on local drive , second on lan network.
any hints, how write app? there's no need open these files, check date file attributes.
system.io.fileinfo file1 = new system.io.fileinfo(file1name); system.io.fileinfo file2 = new system.io.fileinfo(file2name); if(file1.lastwritetime != file2.lastwritetime) //do stuff.
Comments
Post a Comment