What's required for Windows to update the “file modified” timestamp?

Obviously it gets updated during a write operation, but are there any non-destructive operations that also force an update? Basically looking to be able to do the equivalent of the *nix touch command, but in C# programmatically.


Use the function SetFileTime (C++) or File.SetLastWriteTime (C#) to set the last write time to the current time.

Need Your Help

The atan2 function and axis directions

actionscript-3 flash math trigonometry

In this ActionScript reference on the atan2 function, it reads:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.