Hello,
I'm having a program which creates a simple text file with the IO.FileShare setted to Inheritable so other processes can't read/edit the file. But during the programm I'm starting up another process which actually has to read that file also... Is it possible to somehow 'share' that file or add an 'exception' for that process. I have been lokoing a bit around google but didn't really find it. (the file will only exists for a few seconds btw so it's not that it has to be shared for hours)
I'm having a program which creates a simple text file with the IO.FileShare setted to Inheritable so other processes can't read/edit the file. But during the programm I'm starting up another process which actually has to read that file also... Is it possible to somehow 'share' that file or add an 'exception' for that process. I have been lokoing a bit around google but didn't really find it. (the file will only exists for a few seconds btw so it's not that it has to be shared for hours)