[Mono-dev] FileInfo Replace
Max de Lavenne
max at tfbc.com
Fri May 1 20:18:10 EDT 2009
But... you need to also check for the read-only flag of the
destinationFileName before copying. Especially important for Linux systems
where IsReadOnly isn't the only parameter to check
Quote from MSDN "This method will succeed in Windows 2000 environments if
the destFileName is read-only and will not raise an exception. Use the
IsReadOnly property to check if the destination file is read-only before
attempting to replace it."
You should implement that.
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of David Uvalle
Sent: Friday, May 01, 2009 3:10 PM
Subject: [Mono-dev] FileInfo Replace
FileInfo Replace method and some tests.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list