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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -