Detect end of Application.CaptureScreenshot

Hello everyone,

First excuse me for my bad english.
I would like to know if there is a way to know the end of the Application.CaptureScreenshot action, that is to say the creation of the file than the end of writing. I managed to detect the creation of file without problem but I can not detect the end of writing the file.
I tested a few scripts in C # found on the net without success (the file is still accessible while this is not the case since the writing is not finished).

Would anyone have a solution? Thank you in advance
NoƩmie

The method is a basic method returning void so the creation and writing happen inside the method and the rest of the program is waiting for it to be done before continuing:

Application.CaptureScreenshot("Screenshot.png"); // Creation and writing
// file is written so you can use it