5 writes to BytesSent
System.Net.WebClient (5)
System\Net\WebClient.cs (5)
1026
_progress.
BytesSent
+= header.Length;
1040
_progress.
BytesSent
+= bytesRead;
1056
_progress.
BytesSent
+= toWrite;
1064
_progress.
BytesSent
+= footer.Length;
1839
BytesSent
= 0;
3 references to BytesSent
System.Net.WebClient (3)
System\Net\WebClient.cs (3)
1807
if (asyncOp != null && (progress.
BytesSent
> 0 || progress.BytesReceived > 0))
1815
progress.TotalBytesToSend < 0 ? 0 : progress.TotalBytesToSend == 0 ? 50 : (int)((50 * progress.
BytesSent
) / progress.TotalBytesToSend) :
1817
asyncOp.Post(_reportUploadProgressChanged!, new UploadProgressChangedEventArgs(progressPercentage, asyncOp.UserSuppliedState!, progress.
BytesSent
, progress.TotalBytesToSend, progress.BytesReceived, progress.TotalBytesToReceive));