public static void SetCreationTime(String path, DateTime creationTime) { String fullPath = Path.GetFullPath(path); FileSystem.Current.SetCreationTime(fullPath, creationTime, asDirectory: false); }
public static void SetCreationTime(string path, DateTime creationTime) { File.SetCreationTime(path, creationTime); }