My application uses "FileSystemWatcher ()" to raise an event when a TXT file is created by the "X" application and then reads its contents.
application "X" creates a file (my application detects it successfully), but it takes some time to fill in the data on it, so this txt file cannot be read during creation, so im
looking for something to wait for the txt file to be readable. not a static delay, but something related to this file.
any help? THX
source
share