I am not sure you can reliably determine when it's about time, well, unless
you are interfacing to the low-level device driver - and here's why. While
you can reliably determine that the file has been copied by the system (it's
the time instance the Copy method returns), it does not necessarily mean the
data have been actually written to the disk (caching issues step in), and
that the drive is ready to eject the disk. You probably know you shouldn't
eject the disk while the LED on the drive is turned on - and I am in doubt
it is easily possible to determine the state of the LED programmatically.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"cfyam" <cf***@mail.apol.com.tw.NOSPAN> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
When my app copy some files to floppy disk, how can to determine the time
to show the message to inform user to take the disk off?