| Start | ||||
|---|---|---|---|---|
| IsFileReady A common mistake a lot of people starting out with FileSystemWatcher does is not taking into account That the FileWatcher event is raised as soon as the file is created. However, it may take some time for the file to be finished . Example: Take a file size of 1 GB for example . The file apr ask created by another program (Explorer.exe copying it from somewhere) but it will take minutes to finish that process. The event is raised that creation time and you need to wait for the file to be ready to be copied. This is a method for checking if the file is ready. |
||||
| Basic FileWatcher The following example creates a Use the System.Diagnostics and System.IO namespaces for this example. Syntax
Parameters
|
Read Article
https://develop.horje.com/learn/1434/reference