using System; using System.ComponentModel; namespace System.Net { /// Provides data for the event of a . // Token: 0x0200025B RID: 603 public class UploadProgressChangedEventArgs : global::System.ComponentModel.ProgressChangedEventArgs { // Token: 0x0600157E RID: 5502 RVA: 0x00044F60 File Offset: 0x00043160 internal UploadProgressChangedEventArgs(long bytesReceived, long totalBytesToReceive, long bytesSent, long totalBytesToSend, int progressPercentage, object userState) : base(progressPercentage, userState) { this.received = bytesReceived; this.total_recv = totalBytesToReceive; this.sent = bytesSent; this.total_send = totalBytesToSend; } /// Gets the number of bytes received. /// An value that indicates the number of bytes received. // Token: 0x17000709 RID: 1801 // (get) Token: 0x0600157F RID: 5503 RVA: 0x00044F8C File Offset: 0x0004318C public long BytesReceived { get { return this.received; } } /// Gets the total number of bytes in a data upload operation. /// An value that indicates the number of bytes that will be received. // Token: 0x1700070A RID: 1802 // (get) Token: 0x06001580 RID: 5504 RVA: 0x00044F94 File Offset: 0x00043194 public long TotalBytesToReceive { get { return this.total_recv; } } /// Gets the number of bytes sent. /// An value that indicates the number of bytes sent. // Token: 0x1700070B RID: 1803 // (get) Token: 0x06001581 RID: 5505 RVA: 0x00044F9C File Offset: 0x0004319C public long BytesSent { get { return this.sent; } } /// Gets the total number of bytes to send. /// An value that indicates the number of bytes that will be sent. // Token: 0x1700070C RID: 1804 // (get) Token: 0x06001582 RID: 5506 RVA: 0x00044FA4 File Offset: 0x000431A4 public long TotalBytesToSend { get { return this.total_send; } } // Token: 0x040011DA RID: 4570 private long received; // Token: 0x040011DB RID: 4571 private long sent; // Token: 0x040011DC RID: 4572 private long total_recv; // Token: 0x040011DD RID: 4573 private long total_send; } }