Howto savely move a file using C# (saftsack.fs.uni-bayreuth.de)
submitted by
agnes_(290) 4 years, 2 months ago
If possible this version uses the special File.Replace on NTFS and gracially falls back on Delete+Move on any other filesystem. Nothing else to comment about here. I am just amazed that this kind of save moving is not supported by the framework itself. Instead the framework's move routine throws an exception if there is an file existing at the target location. Weird. ;) read more...
|category: Tips & Tricks
|Views: 87
tags:
.Net C# TipsAndTricks Tips another
Everyones tags:
Your Tags: