Hello,
I have create a windows service that monitor all the files that are created in a specific directory when a new file is creted I call an application api that will load the new file, the problem that ,I,m having is that is the file.still open by other application i will not be able to upload the file to my api, Im looking a way to get to know when a file ia not more used by any other app so i can call my api
THe code work greate,
But i continue havien a problem
I,m using the System.IO.FileSystemWatche
I atach the code
Open in new window