I have two processes where the First process sometimes is writing to a file and the second process is reading this file.
For the second process I wonder if it is possible to only read the file if the First process does not use the file.
How would it be possible to check so the file aren´t in use ?
String^ SymbolPath = "C:\\testFile.txt";