Tag Archives: access time

Easily reset file access and write times in C#

You can use this handy utility to reset the last access and last write times for any files that are dragged onto its executable. (I needed it because I had some files that were created while the system’s clock was … Continue reading

Posted in files, tools | Tagged , , , , , , , , , , , | Leave a comment

Get and set file times in C#

The File class provides methods that get and set file times including the creation, modification, and access times. The following code shows how the example uses those methods to get and set a file’s times. // Get the file’s times. … Continue reading

Posted in files | Tagged , , , , , , , , , , , , , , , | Leave a comment