I have a doubt using FileSystemWatcher in C#.
I need to be notified when a file is created in a specified folder, but the problem is if I create multiple files at the same time multiple events are beeing fired and I need that the code only continues if the previous file was processed and not process multiple files at the same time.
Any clue how to do that?
Many thanks
pseudo-code: