public static bool TryChangeCreationTime(string filename, DateTime newTime) { try { if (File.Exists(filename)) { File.SetCreationTime(filename, newTime); } return true; } catch { } return false; }