scripts
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace System.Net
|
||||
{
|
||||
/// <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadProgressChanged" /> event of a <see cref="T:System.Net.WebClient" />.</summary>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of bytes received.</summary>
|
||||
/// <returns>An <see cref="T:System.Int64" /> value that indicates the number of bytes received.</returns>
|
||||
// Token: 0x17000709 RID: 1801
|
||||
// (get) Token: 0x0600157F RID: 5503 RVA: 0x00044F8C File Offset: 0x0004318C
|
||||
public long BytesReceived
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.received;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the total number of bytes in a <see cref="T:System.Net.WebClient" /> data upload operation.</summary>
|
||||
/// <returns>An <see cref="T:System.Int64" /> value that indicates the number of bytes that will be received.</returns>
|
||||
// Token: 0x1700070A RID: 1802
|
||||
// (get) Token: 0x06001580 RID: 5504 RVA: 0x00044F94 File Offset: 0x00043194
|
||||
public long TotalBytesToReceive
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.total_recv;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of bytes sent.</summary>
|
||||
/// <returns>An <see cref="T:System.Int64" /> value that indicates the number of bytes sent.</returns>
|
||||
// Token: 0x1700070B RID: 1803
|
||||
// (get) Token: 0x06001581 RID: 5505 RVA: 0x00044F9C File Offset: 0x0004319C
|
||||
public long BytesSent
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.sent;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the total number of bytes to send.</summary>
|
||||
/// <returns>An <see cref="T:System.Int64" /> value that indicates the number of bytes that will be sent.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user