Files
Dec2017-Script-Dump/System/Net/DownloadDataCompletedEventArgs.cs
T
2026-06-04 11:42:34 +02:00

36 lines
1.3 KiB
C#

using System;
using System.ComponentModel;
namespace System.Net
{
/// <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadDataCompleted" /> event.</summary>
// Token: 0x02000213 RID: 531
public class DownloadDataCompletedEventArgs : global::System.ComponentModel.AsyncCompletedEventArgs
{
// Token: 0x06001220 RID: 4640 RVA: 0x0003650C File Offset: 0x0003470C
internal DownloadDataCompletedEventArgs(byte[] result, Exception error, bool cancelled, object userState)
: base(error, cancelled, userState)
{
this.result = result;
}
/// <summary>Gets the data that is downloaded by a <see cref="Overload:System.Net.WebClient.DownloadDataAsync" /> method.</summary>
/// <returns>A <see cref="T:System.Byte" /> array that contains the downloaded data.</returns>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// </PermissionSet>
// Token: 0x170005EB RID: 1515
// (get) Token: 0x06001221 RID: 4641 RVA: 0x00036520 File Offset: 0x00034720
public byte[] Result
{
get
{
return this.result;
}
}
// Token: 0x04000FB0 RID: 4016
private byte[] result;
}
}