![]() ![]() Set the filter to only catch TXT files.įileSystemEventHandler(watcher_FileCreated) Listing AįileSystemWatcher watcher = newFileSystemWatcher() Is probably the simplest use of the FileSystemWatcher. The “C:\Temp” directory for any *.TXT files that are created. Listing A is a simple example of how to use It includes the filename and the directory name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |