Hello
I want to detect when a new file is added to a existing folder and access it.
How can I do this (C#)?
Thanks
Hello
I want to detect when a new file is added to a existing folder and access it.
How can I do this (C#)?
Thanks
You should take a look at System.IO.FileSystemWatcher, this is the class you might want to use.
I am not a Windows dude, but generally speaking, find out if there is a Windows API call which allows you to watch a directory.
Use the FileSystemWatcher class wich raises events when a file is created, updated etc.