Is there a built-in method to wait for a file to be created in C #? How about a file being fully recorded?
I baked my own by repeatedly trying File.OpenRead () in the file until it succeeds (and does not work with a timeout), but rotating the file does not seem to work correctly. I guess that there was a baked method in .NET, but I can not find it.
source
share