forcing program to wait

cBarry263

Active member
Joined
Oct 29, 2005
Messages
42
Location
Maryland
Programming Experience
Beginner
I have a program that monitors a directory for incoming files using the fileSystemWatcher class. Some of these files can be quite large in size and I don't want my program to take action until the file is fully copied into the directory. Is there any way to force my program to wait maybe 5 or 10 seconds after it finds a file before it does any further execution? Or any other way to achieve this functionality?
 
Back
Top