Hi I have a C# Windows Service installed on a server.
On the other side, the service starts a timer that will read files from a network folder.
My customer requires that a fixed length file is created on a network folder, then they have a process that will do some stuff to the file and in case of success the file is deleted but in case of an error the same file but with extension .err is created.
I know that there are Windows API's that its possible to trigger an event every time a file is created, the thing is that this folder is not on the same server where the service is running.
Is that possible? Mapping the folder into the server will do the trick?