The Browser interface provides a functionality which allows getting an upload progress status. You can attach a delegate to get notifications about a file uploading progress. It is enough to subscribe on the UploadProgressChanged event.


Please note, that upload progress events are fired only in case if a file is uploaded using the <input> tag with the type file and the process takes some time (for small files this event may not be fired). Also, there is no guarantee that this method will be invoked when the upload has been completed. When the upload has been completed the engine loads a new web page, so in order to find out when the upload has been completed, listen to the Browser.DocumentLoadedInFrameEvent event.


C#

Browser.UploadProgressChanged += (sender, e) =>
{
    Console.WriteLine(e.UploadPositionInBytes + " of " +
                      e.UploadSizeInBytes +
                      "bytes have been uploaded");
};


VB.NET

AddHandler Browser.UploadProgressChanged, Sub(sender, e)
    Console.WriteLine(e.UploadPositionInBytes + " of " + 
                      e.UploadSizeInBytes +
                      "bytes have been uploaded")
End Sub