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.
Obviously it gets updated during a write operation, but are there any non-destructive operations
Share
Use the function SetFileTime (C++) or File.SetLastWriteTime (C#) to set the last write time to the current time.