I want to rename a file in a directory as an atomic transaction. The file will not be changing directories. The path is provided as a UNC Path to an NTFS file system, probably on either Server 03 or 08.
Is File.Move() atomic for these purposes? As in, it either completes successfully or fails such that the original file is still intact?
My gut says yes, but I wanted to make sure.