scripts
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
|
||||
namespace System.Net
|
||||
{
|
||||
/// <summary>Provides data for the <see cref="E:System.Net.WebClient.OpenReadCompleted" /> event.</summary>
|
||||
// Token: 0x0200024D RID: 589
|
||||
public class OpenReadCompletedEventArgs : global::System.ComponentModel.AsyncCompletedEventArgs
|
||||
{
|
||||
// Token: 0x060014E9 RID: 5353 RVA: 0x00042F78 File Offset: 0x00041178
|
||||
internal OpenReadCompletedEventArgs(Stream result, Exception error, bool cancelled, object userState)
|
||||
: base(error, cancelled, userState)
|
||||
{
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
/// <summary>Gets a readable stream that contains data downloaded by a <see cref="Overload:System.Net.WebClient.DownloadDataAsync" /> method.</summary>
|
||||
/// <returns>A <see cref="T:System.IO.Stream" /> 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: 0x170006D5 RID: 1749
|
||||
// (get) Token: 0x060014EA RID: 5354 RVA: 0x00042F8C File Offset: 0x0004118C
|
||||
public Stream Result
|
||||
{
|
||||
get
|
||||
{
|
||||
base.RaiseExceptionIfNecessary();
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400119D RID: 4509
|
||||
private Stream result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user