mscorlib(4.0.0.0) API with additions
UploadProgressChangedEventArgs.cs
2 
3 namespace System.Net
4 {
7  {
8  private long m_BytesReceived;
9 
10  private long m_TotalBytesToReceive;
11 
12  private long m_BytesSent;
13 
14  private long m_TotalBytesToSend;
15 
18  public long BytesReceived => m_BytesReceived;
19 
22  public long TotalBytesToReceive => m_TotalBytesToReceive;
23 
26  public long BytesSent => m_BytesSent;
27 
30  public long TotalBytesToSend => m_TotalBytesToSend;
31 
32  internal UploadProgressChangedEventArgs(int progressPercentage, object userToken, long bytesSent, long totalBytesToSend, long bytesReceived, long totalBytesToReceive)
33  : base(progressPercentage, userToken)
34  {
35  m_BytesReceived = bytesReceived;
36  m_TotalBytesToReceive = totalBytesToReceive;
37  m_BytesSent = bytesSent;
38  m_TotalBytesToSend = totalBytesToSend;
39  }
40  }
41 }
Definition: __Canon.cs:3
long BytesReceived
Gets the number of bytes received.
long TotalBytesToReceive
Gets the total number of bytes in a T:System.Net.WebClient data upload operation.
long TotalBytesToSend
Gets the total number of bytes to send.
Provides data for the E:System.ComponentModel.BackgroundWorker.ProgressChanged event.
Provides data for the E:System.Net.WebClient.UploadProgressChanged event of a T:System....