Hi Experts,
The FileInfo Class has two properties "LastAccessTime" and "LastWriteTime". I'm confused between this two as I found that Lastaccesstime is lesser than Lastwritetime for files in my Machine(Server 2012). Is the Lastaccesstime
should be the last time a user has opened it right, if so How can it be lessser than Lastwritetime?
This is a output of a script shows filename, LastAccessTime, LastWriteTime and CreationTime.
Name CreationTime LastAccessTime LastWriteTime
---- ------------ -------------- -------------
Report.txt 19-04-2013 10:54:10 19-04-2013 10:54:10 30-04-2013 10:54:10
Users.txt 07-04-2013 11:07:13 07-04-2013 11:07:13 11-04-2013 13:22:47
Host.txt 18-04-2013 16:36:51 18-04-2013 16:36:51 29-05-2013 18:18:04
test.csv 18-04-2013 16:23:11 18-04-2013 16:23:11 06-05-2013 12:35:20
test.txt 18-04-2013 16:34:47 18-04-2013 16:34:47 29-05-2013 18:12:52
Please Help me under the difference LastAccessTime and LastWriteTime......
The FileInfo Class has two properties "LastAccessTime
This is a output of a script shows filename, LastAccessTime, LastWriteTime and CreationTime.
Name CreationTime LastAccessTime LastWriteTime
---- ------------ -------------- -------------
Report.txt 19-04-2013 10:54:10 19-04-2013 10:54:10 30-04-2013 10:54:10
Users.txt 07-04-2013 11:07:13 07-04-2013 11:07:13 11-04-2013 13:22:47
Host.txt 18-04-2013 16:36:51 18-04-2013 16:36:51 29-05-2013 18:18:04
test.csv 18-04-2013 16:23:11 18-04-2013 16:23:11 06-05-2013 12:35:20
test.txt 18-04-2013 16:34:47 18-04-2013 16:34:47 29-05-2013 18:12:52
Please Help me under the difference LastAccessTime and LastWriteTime..
Thanks and Regards, Narayana Babu