Alex Rivera | Logout

How do I change file creation time in C#?

Asked 2012-03-06T18:27:26.593
31

I'm wondering how I can change file creation time within C#?

Edit
Report

1 Answer

56

You can use the following method from System.IO namespace:

File.SetCreationTime(fileName, fileTime);
answered 2012-03-06T18:29:14.200

Your Answer