Get file modify date in C#

c#, file

Solution

File.GetLastWriteTime will do the job

Problem

How do I read the modify date of the file in C#? I can read the creation date of the file by using the code below: ``` ModifyDate = File.GetCreationTime(FilePath) ```

Original source

Related problems