B
Best Method to Rename File
Guest
I have a situation where I'm writing large files to a directory for another system to consume. They are concerned with grabbing the file before it is done writing. So have asked that I write the file with a different extension, then when done writing the file rename the file to the correct extension they are looking for so they will grab it. I see many recommend using the File.Move method to do a rename, but does File.Move cause the file to be completely rewritten to the disk if so then it isn't solving my situation? Is there a better way to have the file renamed without the content being rewritten? Thanks. (NOTE: My code is in C# 4.6.2 Framework)
Continue reading...
Continue reading...