Advice needed for FileSystemWatcher Vs Polling directory

I'm tasked with creating a watchfolder for media files that will send them to a transcoder. I've heard Systemwatcher can be unreliable for high volumes of files and there will be thousands of files moved to the folder during a day.

Either way, what is the best way to prevent duplicates getting grabbed? Id imagine after a few days of this amount of files being stored a list or an array of processed files would become too difficult/inefficient to process.

by Timestogo via /r/csharp

Leave a Reply