1359 lines
52 KiB
C#
1359 lines
52 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.Serialization;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
using Cpp2IlInjected;
|
|
using Mono.Security.Interface;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides an HTTP-specific implementation of the <see cref="T:System.Net.WebRequest" /> class.</summary>
|
|
// Token: 0x0200028F RID: 655
|
|
[Token(Token = "0x200028F")]
|
|
[Serializable]
|
|
public class HttpWebRequest : WebRequest, ISerializable
|
|
{
|
|
// Token: 0x060010BC RID: 4284 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010BC")]
|
|
[Address(RVA = "0xB39340", Offset = "0xB38340", VA = "0x180B39340")]
|
|
public HttpWebRequest(Uri uri)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.HttpWebRequest" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes. This constructor is obsolete.</summary>
|
|
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that contains the information required to serialize the new <see cref="T:System.Net.HttpWebRequest" /> object.</param>
|
|
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains the source and destination of the serialized stream associated with the new <see cref="T:System.Net.HttpWebRequest" /> object.</param>
|
|
// Token: 0x060010BD RID: 4285 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010BD")]
|
|
[Address(RVA = "0xB394F0", Offset = "0xB384F0", VA = "0x180B394F0")]
|
|
[Obsolete]
|
|
protected HttpWebRequest(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010BE RID: 4286 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010BE")]
|
|
[Address(RVA = "0xB38130", Offset = "0xB37130", VA = "0x180B38130")]
|
|
private void ResetAuthorization()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010BF RID: 4287 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010BF")]
|
|
[Address(RVA = "0xB38BF0", Offset = "0xB37BF0", VA = "0x180B38BF0")]
|
|
private void SetSpecialHeaders(string HeaderName, string value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="Accept" /> HTTP header.</summary>
|
|
/// <returns>The value of the <see langword="Accept" /> HTTP header. The default value is <see langword="null" />.</returns>
|
|
// Token: 0x1700033E RID: 830
|
|
// (set) Token: 0x060010C0 RID: 4288 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700033E")]
|
|
public string Accept
|
|
{
|
|
[Token(Token = "0x60010C0")]
|
|
[Address(RVA = "0xB39D40", Offset = "0xB38D40", VA = "0x180B39D40")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request.</summary>
|
|
/// <returns>A <see cref="T:System.Uri" /> that identifies the Internet resource that actually responds to the request. The default is the URI used by the <see cref="M:System.Net.WebRequest.Create(System.String)" /> method to initialize the request.</returns>
|
|
// Token: 0x1700033F RID: 831
|
|
// (get) Token: 0x060010C1 RID: 4289 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060010C2 RID: 4290 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700033F")]
|
|
public Uri Address
|
|
{
|
|
[Token(Token = "0x60010C1")]
|
|
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60010C2")]
|
|
[Address(RVA = "0x417960", Offset = "0x416960", VA = "0x180417960")]
|
|
internal set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether to buffer the data sent to the Internet resource.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to enable buffering of the data sent to the Internet resource; <see langword="false" /> to disable buffering. The default is <see langword="true" />.</returns>
|
|
// Token: 0x17000340 RID: 832
|
|
// (get) Token: 0x060010C3 RID: 4291 RVA: 0x00007DE8 File Offset: 0x00005FE8
|
|
[Token(Token = "0x17000340")]
|
|
public virtual bool AllowWriteStreamBuffering
|
|
{
|
|
[Token(Token = "0x60010C3")]
|
|
[Address(RVA = "0x4B4FE0", Offset = "0x4B3FE0", VA = "0x1804B4FE0", Slot = "26")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the type of decompression that is used.</summary>
|
|
/// <returns>A <see cref="T:System.Net.DecompressionMethods" /> object that indicates the type of decompression that is used.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The object's current state does not allow this property to be set.</exception>
|
|
// Token: 0x17000341 RID: 833
|
|
// (get) Token: 0x060010C4 RID: 4292 RVA: 0x00007E00 File Offset: 0x00006000
|
|
[Token(Token = "0x17000341")]
|
|
public DecompressionMethods AutomaticDecompression
|
|
{
|
|
[Token(Token = "0x60010C4")]
|
|
[Address(RVA = "0xB39AD0", Offset = "0xB38AD0", VA = "0x180B39AD0")]
|
|
get
|
|
{
|
|
return DecompressionMethods.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000342 RID: 834
|
|
// (get) Token: 0x060010C5 RID: 4293 RVA: 0x00007E18 File Offset: 0x00006018
|
|
[Token(Token = "0x17000342")]
|
|
internal bool InternalAllowBuffering
|
|
{
|
|
[Token(Token = "0x60010C5")]
|
|
[Address(RVA = "0xB39B80", Offset = "0xB38B80", VA = "0x180B39B80")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000343 RID: 835
|
|
// (get) Token: 0x060010C6 RID: 4294 RVA: 0x00007E30 File Offset: 0x00006030
|
|
[Token(Token = "0x17000343")]
|
|
private bool MethodWithBuffer
|
|
{
|
|
[Token(Token = "0x60010C6")]
|
|
[Address(RVA = "0xB39B90", Offset = "0xB38B90", VA = "0x180B39B90")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000344 RID: 836
|
|
// (get) Token: 0x060010C7 RID: 4295 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000344")]
|
|
internal MonoTlsProvider TlsProvider
|
|
{
|
|
[Token(Token = "0x60010C7")]
|
|
[Address(RVA = "0x675290", Offset = "0x674290", VA = "0x180675290")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000345 RID: 837
|
|
// (get) Token: 0x060010C8 RID: 4296 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000345")]
|
|
internal MonoTlsSettings TlsSettings
|
|
{
|
|
[Token(Token = "0x60010C8")]
|
|
[Address(RVA = "0x4D9750", Offset = "0x4D8750", VA = "0x1804D9750")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the collection of security certificates that are associated with this request.</summary>
|
|
/// <returns>The <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> that contains the security certificates associated with this request.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The value specified for a set operation is <see langword="null" />.</exception>
|
|
// Token: 0x17000346 RID: 838
|
|
// (get) Token: 0x060010C9 RID: 4297 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000346")]
|
|
public X509CertificateCollection ClientCertificates
|
|
{
|
|
[Token(Token = "0x60010C9")]
|
|
[Address(RVA = "0xB39AE0", Offset = "0xB38AE0", VA = "0x180B39AE0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="Connection" /> HTTP header.</summary>
|
|
/// <returns>The value of the <see langword="Connection" /> HTTP header. The default value is <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The value of <see cref="P:System.Net.HttpWebRequest.Connection" /> is set to Keep-alive or Close.</exception>
|
|
// Token: 0x17000347 RID: 839
|
|
// (set) Token: 0x060010CA RID: 4298 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000347")]
|
|
public string Connection
|
|
{
|
|
[Token(Token = "0x60010CA")]
|
|
[Address(RVA = "0xB39DE0", Offset = "0xB38DE0", VA = "0x180B39DE0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the <see langword="Content-length" /> HTTP header.</summary>
|
|
/// <returns>The number of bytes of data to send to the Internet resource. The default is -1, which indicates the property has not been set and that there is no request data to send.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The request has been started by calling the <see cref="M:System.Net.HttpWebRequest.GetRequestStream" />, <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />, <see cref="M:System.Net.HttpWebRequest.GetResponse" />, or <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> method.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The new <see cref="P:System.Net.HttpWebRequest.ContentLength" /> value is less than 0.</exception>
|
|
// Token: 0x17000348 RID: 840
|
|
// (get) Token: 0x060010CB RID: 4299 RVA: 0x00007E48 File Offset: 0x00006048
|
|
// (set) Token: 0x060010CC RID: 4300 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000348")]
|
|
public override long ContentLength
|
|
{
|
|
[Token(Token = "0x60010CB")]
|
|
[Address(RVA = "0x4177D0", Offset = "0x4167D0", VA = "0x1804177D0", Slot = "14")]
|
|
get
|
|
{
|
|
return 0L;
|
|
}
|
|
[Token(Token = "0x60010CC")]
|
|
[Address(RVA = "0xB39F90", Offset = "0xB38F90", VA = "0x180B39F90", Slot = "15")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000349 RID: 841
|
|
// (set) Token: 0x060010CD RID: 4301 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000349")]
|
|
internal long InternalContentLength
|
|
{
|
|
[Token(Token = "0x60010CD")]
|
|
[Address(RVA = "0x417AC0", Offset = "0x416AC0", VA = "0x180417AC0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700034A RID: 842
|
|
// (get) Token: 0x060010CE RID: 4302 RVA: 0x00007E60 File Offset: 0x00006060
|
|
// (set) Token: 0x060010CF RID: 4303 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700034A")]
|
|
internal bool ThrowOnError
|
|
{
|
|
[Token(Token = "0x60010CE")]
|
|
[Address(RVA = "0xB39CC0", Offset = "0xB38CC0", VA = "0x180B39CC0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60010CF")]
|
|
[Address(RVA = "0xB3A8E0", Offset = "0xB398E0", VA = "0x180B3A8E0")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="Content-type" /> HTTP header.</summary>
|
|
/// <returns>The value of the <see langword="Content-type" /> HTTP header. The default value is <see langword="null" />.</returns>
|
|
// Token: 0x1700034B RID: 843
|
|
// (set) Token: 0x060010D0 RID: 4304 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700034B")]
|
|
public override string ContentType
|
|
{
|
|
[Token(Token = "0x60010D0")]
|
|
[Address(RVA = "0xB3A060", Offset = "0xB39060", VA = "0x180B3A060", Slot = "16")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets authentication information for the request.</summary>
|
|
/// <returns>An <see cref="T:System.Net.ICredentials" /> that contains the authentication credentials associated with the request. The default is <see langword="null" />.</returns>
|
|
// Token: 0x1700034C RID: 844
|
|
// (get) Token: 0x060010D1 RID: 4305 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060010D2 RID: 4306 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700034C")]
|
|
public override ICredentials Credentials
|
|
{
|
|
[Token(Token = "0x60010D1")]
|
|
[Address(RVA = "0x4177B0", Offset = "0x4167B0", VA = "0x1804177B0", Slot = "17")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60010D2")]
|
|
[Address(RVA = "0x417AA0", Offset = "0x416AA0", VA = "0x180417AA0", Slot = "18")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="Expect" /> HTTP header.</summary>
|
|
/// <returns>The contents of the <see langword="Expect" /> HTTP header. The default value is <see langword="null" />.
|
|
///
|
|
/// The value for this property is stored in <see cref="T:System.Net.WebHeaderCollection" />. If WebHeaderCollection is set, the property value is lost.</returns>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <see langword="Expect" /> is set to a string that contains "100-continue" as a substring.</exception>
|
|
// Token: 0x1700034D RID: 845
|
|
// (set) Token: 0x060010D3 RID: 4307 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700034D")]
|
|
public string Expect
|
|
{
|
|
[Token(Token = "0x60010D3")]
|
|
[Address(RVA = "0xB3A0C0", Offset = "0xB390C0", VA = "0x180B3A0C0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Specifies a collection of the name/value pairs that make up the HTTP headers.</summary>
|
|
/// <returns>A <see cref="T:System.Net.WebHeaderCollection" /> that contains the name/value pairs that make up the headers for the HTTP request.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The request has been started by calling the <see cref="M:System.Net.HttpWebRequest.GetRequestStream" />, <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />, <see cref="M:System.Net.HttpWebRequest.GetResponse" />, or <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> method.</exception>
|
|
// Token: 0x1700034E RID: 846
|
|
// (get) Token: 0x060010D4 RID: 4308 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060010D5 RID: 4309 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700034E")]
|
|
public override WebHeaderCollection Headers
|
|
{
|
|
[Token(Token = "0x60010D4")]
|
|
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60010D5")]
|
|
[Address(RVA = "0xB3A220", Offset = "0xB39220", VA = "0x180B3A220", Slot = "13")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the Host header value to use in an HTTP request independent from the request URI.</summary>
|
|
/// <returns>The Host header value in the HTTP request.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The Host header cannot be set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The Host header cannot be set to an invalid value.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The Host header cannot be set after the <see cref="T:System.Net.HttpWebRequest" /> has already started to be sent.</exception>
|
|
// Token: 0x1700034F RID: 847
|
|
// (get) Token: 0x060010D6 RID: 4310 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060010D7 RID: 4311 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700034F")]
|
|
public string Host
|
|
{
|
|
[Token(Token = "0x60010D6")]
|
|
[Address(RVA = "0xB39B50", Offset = "0xB38B50", VA = "0x180B39B50")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60010D7")]
|
|
[Address(RVA = "0xB3A390", Offset = "0xB39390", VA = "0x180B3A390")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060010D8 RID: 4312 RVA: 0x00007E78 File Offset: 0x00006078
|
|
[Token(Token = "0x60010D8")]
|
|
[Address(RVA = "0xB36680", Offset = "0xB35680", VA = "0x180B36680")]
|
|
private static bool CheckValidHost(string scheme, string val)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether to make a persistent connection to the Internet resource.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the request to the Internet resource should contain a <see langword="Connection" /> HTTP header with the value Keep-alive; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
|
|
// Token: 0x17000350 RID: 848
|
|
// (get) Token: 0x060010D9 RID: 4313 RVA: 0x00007E90 File Offset: 0x00006090
|
|
[Token(Token = "0x17000350")]
|
|
public bool KeepAlive
|
|
{
|
|
[Token(Token = "0x60010D9")]
|
|
[Address(RVA = "0x7751D0", Offset = "0x7741D0", VA = "0x1807751D0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a time-out in milliseconds when writing to or reading from a stream.</summary>
|
|
/// <returns>The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes).</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The request has already been sent.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than or equal to zero and is not equal to <see cref="F:System.Threading.Timeout.Infinite" /></exception>
|
|
// Token: 0x17000351 RID: 849
|
|
// (get) Token: 0x060010DA RID: 4314 RVA: 0x00007EA8 File Offset: 0x000060A8
|
|
[Token(Token = "0x17000351")]
|
|
public int ReadWriteTimeout
|
|
{
|
|
[Token(Token = "0x60010DA")]
|
|
[Address(RVA = "0xB39C80", Offset = "0xB38C80", VA = "0x180B39C80")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the method for the request.</summary>
|
|
/// <returns>The request method to use to contact the Internet resource. The default value is GET.</returns>
|
|
/// <exception cref="T:System.ArgumentException">No method is supplied.
|
|
/// -or-
|
|
/// The method string contains invalid characters.</exception>
|
|
// Token: 0x17000352 RID: 850
|
|
// (get) Token: 0x060010DB RID: 4315 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060010DC RID: 4316 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000352")]
|
|
public override string Method
|
|
{
|
|
[Token(Token = "0x60010DB")]
|
|
[Address(RVA = "0x4646C0", Offset = "0x4636C0", VA = "0x1804646C0", Slot = "9")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60010DC")]
|
|
[Address(RVA = "0xB3A5B0", Offset = "0xB395B0", VA = "0x180B3A5B0", Slot = "10")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets proxy information for the request.</summary>
|
|
/// <returns>The <see cref="T:System.Net.IWebProxy" /> object to use to proxy the request. The default value is set by calling the <see cref="P:System.Net.GlobalProxySelection.Select" /> property.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <see cref="P:System.Net.HttpWebRequest.Proxy" /> is set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The request has been started by calling <see cref="M:System.Net.HttpWebRequest.GetRequestStream" />, <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />, <see cref="M:System.Net.HttpWebRequest.GetResponse" />, or <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</exception>
|
|
/// <exception cref="T:System.Security.SecurityException">The caller does not have permission for the requested operation.</exception>
|
|
// Token: 0x17000353 RID: 851
|
|
// (get) Token: 0x060010DD RID: 4317 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060010DE RID: 4318 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000353")]
|
|
public override IWebProxy Proxy
|
|
{
|
|
[Token(Token = "0x60010DD")]
|
|
[Address(RVA = "0x44C890", Offset = "0x44B890", VA = "0x18044C890", Slot = "19")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60010DE")]
|
|
[Address(RVA = "0xB3A740", Offset = "0xB39740", VA = "0x180B3A740", Slot = "20")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="Referer" /> HTTP header.</summary>
|
|
/// <returns>The value of the <see langword="Referer" /> HTTP header. The default value is <see langword="null" />.</returns>
|
|
// Token: 0x17000354 RID: 852
|
|
// (set) Token: 0x060010DF RID: 4319 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000354")]
|
|
public string Referer
|
|
{
|
|
[Token(Token = "0x60010DF")]
|
|
[Address(RVA = "0xB3A7D0", Offset = "0xB397D0", VA = "0x180B3A7D0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the original Uniform Resource Identifier (URI) of the request.</summary>
|
|
/// <returns>A <see cref="T:System.Uri" /> that contains the URI of the Internet resource passed to the <see cref="M:System.Net.WebRequest.Create(System.String)" /> method.</returns>
|
|
// Token: 0x17000355 RID: 853
|
|
// (get) Token: 0x060010E0 RID: 4320 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000355")]
|
|
public override Uri RequestUri
|
|
{
|
|
[Token(Token = "0x60010E0")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0", Slot = "11")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether to send data in segments to the Internet resource.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to send data to the Internet resource in segments; otherwise, <see langword="false" />. The default value is <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The request has been started by calling the <see cref="M:System.Net.HttpWebRequest.GetRequestStream" />, <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />, <see cref="M:System.Net.HttpWebRequest.GetResponse" />, or <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> method.</exception>
|
|
// Token: 0x17000356 RID: 854
|
|
// (get) Token: 0x060010E1 RID: 4321 RVA: 0x00007EC0 File Offset: 0x000060C0
|
|
[Token(Token = "0x17000356")]
|
|
public bool SendChunked
|
|
{
|
|
[Token(Token = "0x60010E1")]
|
|
[Address(RVA = "0x44BFF0", Offset = "0x44AFF0", VA = "0x18044BFF0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the service point to use for the request.</summary>
|
|
/// <returns>A <see cref="T:System.Net.ServicePoint" /> that represents the network connection to the Internet resource.</returns>
|
|
// Token: 0x17000357 RID: 855
|
|
// (get) Token: 0x060010E2 RID: 4322 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000357")]
|
|
public ServicePoint ServicePoint
|
|
{
|
|
[Token(Token = "0x60010E2")]
|
|
[Address(RVA = "0xB39CB0", Offset = "0xB38CB0", VA = "0x180B39CB0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000358 RID: 856
|
|
// (get) Token: 0x060010E3 RID: 4323 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000358")]
|
|
internal ServicePoint ServicePointNoLock
|
|
{
|
|
[Token(Token = "0x60010E3")]
|
|
[Address(RVA = "0x42D460", Offset = "0x42C460", VA = "0x18042D460")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the time-out value in milliseconds for the <see cref="M:System.Net.HttpWebRequest.GetResponse" /> and <see cref="M:System.Net.HttpWebRequest.GetRequestStream" /> methods.</summary>
|
|
/// <returns>The number of milliseconds to wait before the request times out. The default value is 100,000 milliseconds (100 seconds).</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than zero and is not <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
|
// Token: 0x17000359 RID: 857
|
|
// (get) Token: 0x060010E4 RID: 4324 RVA: 0x00007ED8 File Offset: 0x000060D8
|
|
[Token(Token = "0x17000359")]
|
|
public override int Timeout
|
|
{
|
|
[Token(Token = "0x60010E4")]
|
|
[Address(RVA = "0xB39CD0", Offset = "0xB38CD0", VA = "0x180B39CD0", Slot = "21")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="Transfer-encoding" /> HTTP header.</summary>
|
|
/// <returns>The value of the <see langword="Transfer-encoding" /> HTTP header. The default value is <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">
|
|
/// <see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> is set when <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="false" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> is set to the value "Chunked".</exception>
|
|
// Token: 0x1700035A RID: 858
|
|
// (get) Token: 0x060010E5 RID: 4325 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700035A")]
|
|
public string TransferEncoding
|
|
{
|
|
[Token(Token = "0x60010E5")]
|
|
[Address(RVA = "0xB39CE0", Offset = "0xB38CE0", VA = "0x180B39CE0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the value of the <see langword="User-agent" /> HTTP header.</summary>
|
|
/// <returns>The value of the <see langword="User-agent" /> HTTP header. The default value is <see langword="null" />.
|
|
///
|
|
/// The value for this property is stored in <see cref="T:System.Net.WebHeaderCollection" />. If WebHeaderCollection is set, the property value is lost.</returns>
|
|
// Token: 0x1700035B RID: 859
|
|
// (set) Token: 0x060010E6 RID: 4326 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700035B")]
|
|
public string UserAgent
|
|
{
|
|
[Token(Token = "0x60010E6")]
|
|
[Address(RVA = "0xB3A8F0", Offset = "0xB398F0", VA = "0x180B3A8F0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to keep the authenticated connection open; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700035C RID: 860
|
|
// (get) Token: 0x060010E7 RID: 4327 RVA: 0x00007EF0 File Offset: 0x000060F0
|
|
[Token(Token = "0x1700035C")]
|
|
public bool UnsafeAuthenticatedConnectionSharing
|
|
{
|
|
[Token(Token = "0x60010E7")]
|
|
[Address(RVA = "0xB39D30", Offset = "0xB38D30", VA = "0x180B39D30")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700035D RID: 861
|
|
// (get) Token: 0x060010E8 RID: 4328 RVA: 0x00007F08 File Offset: 0x00006108
|
|
// (set) Token: 0x060010E9 RID: 4329 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700035D")]
|
|
internal bool ExpectContinue
|
|
{
|
|
[Token(Token = "0x60010E8")]
|
|
[Address(RVA = "0xB39B40", Offset = "0xB38B40", VA = "0x180B39B40")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60010E9")]
|
|
[Address(RVA = "0xB3A0B0", Offset = "0xB390B0", VA = "0x180B3A0B0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700035E RID: 862
|
|
// (get) Token: 0x060010EA RID: 4330 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700035E")]
|
|
internal Uri AuthUri
|
|
{
|
|
[Token(Token = "0x60010EA")]
|
|
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700035F RID: 863
|
|
// (get) Token: 0x060010EB RID: 4331 RVA: 0x00007F20 File Offset: 0x00006120
|
|
[Token(Token = "0x1700035F")]
|
|
internal bool ProxyQuery
|
|
{
|
|
[Token(Token = "0x60010EB")]
|
|
[Address(RVA = "0xB39C40", Offset = "0xB38C40", VA = "0x180B39C40")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000360 RID: 864
|
|
// (get) Token: 0x060010EC RID: 4332 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000360")]
|
|
internal ServerCertValidationCallback ServerCertValidationCallback
|
|
{
|
|
[Token(Token = "0x60010EC")]
|
|
[Address(RVA = "0xB39CA0", Offset = "0xB38CA0", VA = "0x180B39CA0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060010ED RID: 4333 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010ED")]
|
|
[Address(RVA = "0xB37A20", Offset = "0xB36A20", VA = "0x180B37A20")]
|
|
internal ServicePoint GetServicePoint()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060010EE RID: 4334 RVA: 0x00007F38 File Offset: 0x00006138
|
|
[Token(Token = "0x60010EE")]
|
|
[Address(RVA = "0xB36380", Offset = "0xB35380", VA = "0x180B36380")]
|
|
private bool CheckIfForceWrite(SimpleAsyncResult result)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Begins an asynchronous request to an Internet resource.</summary>
|
|
/// <param name="callback">The <see cref="T:System.AsyncCallback" /> delegate</param>
|
|
/// <param name="state">The state object for this request.</param>
|
|
/// <returns>An <see cref="T:System.IAsyncResult" /> that references the asynchronous request for a response.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The stream is already in use by a previous call to <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />
|
|
/// -or-
|
|
/// <see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> is set to a value and <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="false" />.
|
|
/// -or-
|
|
/// The thread pool is running out of threads.</exception>
|
|
/// <exception cref="T:System.Net.ProtocolViolationException">
|
|
/// <see cref="P:System.Net.HttpWebRequest.Method" /> is GET or HEAD, and either <see cref="P:System.Net.HttpWebRequest.ContentLength" /> is greater than zero or <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="true" />.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.HttpWebRequest.KeepAlive" /> is <see langword="true" />, <see cref="P:System.Net.HttpWebRequest.AllowWriteStreamBuffering" /> is <see langword="false" />, and either <see cref="P:System.Net.HttpWebRequest.ContentLength" /> is -1, <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="false" /> and <see cref="P:System.Net.HttpWebRequest.Method" /> is POST or PUT.
|
|
/// -or-
|
|
/// The <see cref="T:System.Net.HttpWebRequest" /> has an entity body but the <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> method is called without calling the <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" /> method.
|
|
/// -or-
|
|
/// The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> is greater than zero, but the application does not write all of the promised data.</exception>
|
|
/// <exception cref="T:System.Net.WebException">
|
|
/// <see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</exception>
|
|
// Token: 0x060010EF RID: 4335 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010EF")]
|
|
[Address(RVA = "0xB35950", Offset = "0xB34950", VA = "0x180B35950", Slot = "23")]
|
|
public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Ends an asynchronous request to an Internet resource.</summary>
|
|
/// <param name="asyncResult">The pending request for a response.</param>
|
|
/// <returns>A <see cref="T:System.Net.WebResponse" /> that contains the response from the Internet resource.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">This method was called previously using <paramref name="asyncResult." />
|
|
/// -or-
|
|
/// The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property is greater than 0 but the data has not been written to the request stream.</exception>
|
|
/// <exception cref="T:System.Net.WebException">
|
|
/// <see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.
|
|
/// -or-
|
|
/// An error occurred while processing the request.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="asyncResult" /> was not returned by the current instance from a call to <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</exception>
|
|
// Token: 0x060010F0 RID: 4336 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010F0")]
|
|
[Address(RVA = "0xB36960", Offset = "0xB35960", VA = "0x180B36960", Slot = "24")]
|
|
public override WebResponse EndGetResponse(IAsyncResult asyncResult)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns a response from an Internet resource.</summary>
|
|
/// <returns>A <see cref="T:System.Net.WebResponse" /> that contains the response from the Internet resource.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The stream is already in use by a previous call to <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> is set to a value and <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="false" />.</exception>
|
|
/// <exception cref="T:System.Net.ProtocolViolationException">
|
|
/// <see cref="P:System.Net.HttpWebRequest.Method" /> is GET or HEAD, and either <see cref="P:System.Net.HttpWebRequest.ContentLength" /> is greater or equal to zero or <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="true" />.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.HttpWebRequest.KeepAlive" /> is <see langword="true" />, <see cref="P:System.Net.HttpWebRequest.AllowWriteStreamBuffering" /> is <see langword="false" />, <see cref="P:System.Net.HttpWebRequest.ContentLength" /> is -1, <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="false" />, and <see cref="P:System.Net.HttpWebRequest.Method" /> is POST or PUT.
|
|
/// -or-
|
|
/// The <see cref="T:System.Net.HttpWebRequest" /> has an entity body but the <see cref="M:System.Net.HttpWebRequest.GetResponse" /> method is called without calling the <see cref="M:System.Net.HttpWebRequest.GetRequestStream" /> method.
|
|
/// -or-
|
|
/// The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> is greater than zero, but the application does not write all of the promised data.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">The request cache validator indicated that the response for this request can be served from the cache; however, this request includes data to be sent to the server. Requests that send data must not use the cache. This exception can occur if you are using a custom cache validator that is incorrectly implemented.</exception>
|
|
/// <exception cref="T:System.Net.WebException">
|
|
/// <see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.
|
|
/// -or-
|
|
/// The time-out period for the request expired.
|
|
/// -or-
|
|
/// An error occurred while processing the request.</exception>
|
|
// Token: 0x060010F1 RID: 4337 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010F1")]
|
|
[Address(RVA = "0xB37970", Offset = "0xB36970", VA = "0x180B37970", Slot = "22")]
|
|
public override WebResponse GetResponse()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x17000361 RID: 865
|
|
// (get) Token: 0x060010F2 RID: 4338 RVA: 0x00007F50 File Offset: 0x00006150
|
|
// (set) Token: 0x060010F3 RID: 4339 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000361")]
|
|
internal bool FinishedReading
|
|
{
|
|
[Token(Token = "0x60010F2")]
|
|
[Address(RVA = "0x44BD60", Offset = "0x44AD60", VA = "0x18044BD60")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60010F3")]
|
|
[Address(RVA = "0x90D370", Offset = "0x90C370", VA = "0x18090D370")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000362 RID: 866
|
|
// (get) Token: 0x060010F4 RID: 4340 RVA: 0x00007F68 File Offset: 0x00006168
|
|
[Token(Token = "0x17000362")]
|
|
internal bool Aborted
|
|
{
|
|
[Token(Token = "0x60010F4")]
|
|
[Address(RVA = "0xB39AA0", Offset = "0xB38AA0", VA = "0x180B39AA0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Cancels a request to an Internet resource.</summary>
|
|
// Token: 0x060010F5 RID: 4341 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010F5")]
|
|
[Address(RVA = "0xB356E0", Offset = "0xB346E0", VA = "0x180B356E0", Slot = "25")]
|
|
public override void Abort()
|
|
{
|
|
}
|
|
|
|
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.</summary>
|
|
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
|
|
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
|
|
// Token: 0x060010F6 RID: 4342 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010F6")]
|
|
[Address(RVA = "0x77AA00", Offset = "0x779A00", VA = "0x18077AA00", Slot = "6")]
|
|
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data required to serialize the target object.</summary>
|
|
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
|
|
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
|
|
// Token: 0x060010F7 RID: 4343 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010F7")]
|
|
[Address(RVA = "0xB37250", Offset = "0xB36250", VA = "0x180B37250", Slot = "7")]
|
|
protected override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010F8 RID: 4344 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010F8")]
|
|
[Address(RVA = "0xB364D0", Offset = "0xB354D0", VA = "0x180B364D0")]
|
|
private void CheckRequestStarted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010F9 RID: 4345 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010F9")]
|
|
[Address(RVA = "0xB367E0", Offset = "0xB357E0", VA = "0x180B367E0")]
|
|
internal void DoContinueDelegate(int statusCode, WebHeaderCollection headers)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010FA RID: 4346 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010FA")]
|
|
[Address(RVA = "0xB38170", Offset = "0xB37170", VA = "0x180B38170")]
|
|
private void RewriteRedirectToGet()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010FB RID: 4347 RVA: 0x00007F80 File Offset: 0x00006180
|
|
[Token(Token = "0x60010FB")]
|
|
[Address(RVA = "0xB37CF0", Offset = "0xB36CF0", VA = "0x180B37CF0")]
|
|
private bool Redirect(WebAsyncResult result, HttpStatusCode code, WebResponse response)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060010FC RID: 4348 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010FC")]
|
|
[Address(RVA = "0xB36AE0", Offset = "0xB35AE0", VA = "0x180B36AE0")]
|
|
private string GetHeaders()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060010FD RID: 4349 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010FD")]
|
|
[Address(RVA = "0xB36800", Offset = "0xB35800", VA = "0x180B36800")]
|
|
private void DoPreAuthenticate()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010FE RID: 4350 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010FE")]
|
|
[Address(RVA = "0xB38D50", Offset = "0xB37D50", VA = "0x180B38D50")]
|
|
internal void SetWriteStreamError(WebExceptionStatus status, Exception exc)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010FF RID: 4351 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010FF")]
|
|
[Address(RVA = "0xB37540", Offset = "0xB36540", VA = "0x180B37540")]
|
|
internal byte[] GetRequestHeaders()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001100 RID: 4352 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001100")]
|
|
[Address(RVA = "0xB38F60", Offset = "0xB37F60", VA = "0x180B38F60")]
|
|
internal void SetWriteStream(WebConnectionStream stream)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001101 RID: 4353 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001101")]
|
|
[Address(RVA = "0xB38EE0", Offset = "0xB37EE0", VA = "0x180B38EE0")]
|
|
private void SetWriteStreamInner(SimpleAsyncCallback callback)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001102 RID: 4354 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001102")]
|
|
[Address(RVA = "0xB38CB0", Offset = "0xB37CB0", VA = "0x180B38CB0")]
|
|
private void SetWriteStreamError(Exception exc)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001103 RID: 4355 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001103")]
|
|
[Address(RVA = "0xB389A0", Offset = "0xB379A0", VA = "0x180B389A0")]
|
|
internal void SetResponseError(WebExceptionStatus status, Exception e, string where)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001104 RID: 4356 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001104")]
|
|
[Address(RVA = "0xB36540", Offset = "0xB35540", VA = "0x180B36540")]
|
|
private void CheckSendError(WebConnectionData data)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001105 RID: 4357 RVA: 0x00007F98 File Offset: 0x00006198
|
|
[Token(Token = "0x6001105")]
|
|
[Address(RVA = "0xB37B30", Offset = "0xB36B30", VA = "0x180B37B30")]
|
|
private bool HandleNtlmAuth(WebAsyncResult r)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06001106 RID: 4358 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001106")]
|
|
[Address(RVA = "0xB381D0", Offset = "0xB371D0", VA = "0x180B381D0")]
|
|
internal void SetResponseData(WebConnectionData data)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001107 RID: 4359 RVA: 0x00007FB0 File Offset: 0x000061B0
|
|
[Token(Token = "0x6001107")]
|
|
[Address(RVA = "0xB35C20", Offset = "0xB34C20", VA = "0x180B35C20")]
|
|
private bool CheckAuthorization(WebResponse response, HttpStatusCode code)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06001108 RID: 4360 RVA: 0x00007FC8 File Offset: 0x000061C8
|
|
[Token(Token = "0x6001108")]
|
|
[Address(RVA = "0xB35C50", Offset = "0xB34C50", VA = "0x180B35C50")]
|
|
private bool CheckFinalStatus(WebAsyncResult result)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x17000363 RID: 867
|
|
// (get) Token: 0x06001109 RID: 4361 RVA: 0x00007FE0 File Offset: 0x000061E0
|
|
// (set) Token: 0x0600110A RID: 4362 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000363")]
|
|
internal bool ReuseConnection
|
|
{
|
|
[Token(Token = "0x6001109")]
|
|
[Address(RVA = "0xB39C90", Offset = "0xB38C90", VA = "0x180B39C90")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x600110A")]
|
|
[Address(RVA = "0xB3A8D0", Offset = "0xB398D0", VA = "0x180B3A8D0")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.HttpWebRequest" /> class. This constructor is obsolete.</summary>
|
|
// Token: 0x0600110E RID: 4366 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600110E")]
|
|
[Address(RVA = "0xB39310", Offset = "0xB38310", VA = "0x180B39310")]
|
|
[Obsolete]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
|
|
public HttpWebRequest()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040009BD RID: 2493
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40009BD")]
|
|
private Uri requestUri;
|
|
|
|
// Token: 0x040009BE RID: 2494
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40009BE")]
|
|
private Uri actualUri;
|
|
|
|
// Token: 0x040009BF RID: 2495
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40009BF")]
|
|
private bool hostChanged;
|
|
|
|
// Token: 0x040009C0 RID: 2496
|
|
[FieldOffset(Offset = "0x49")]
|
|
[Token(Token = "0x40009C0")]
|
|
private bool allowAutoRedirect;
|
|
|
|
// Token: 0x040009C1 RID: 2497
|
|
[FieldOffset(Offset = "0x4A")]
|
|
[Token(Token = "0x40009C1")]
|
|
private bool allowBuffering;
|
|
|
|
// Token: 0x040009C2 RID: 2498
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40009C2")]
|
|
private X509CertificateCollection certificates;
|
|
|
|
// Token: 0x040009C3 RID: 2499
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40009C3")]
|
|
private string connectionGroup;
|
|
|
|
// Token: 0x040009C4 RID: 2500
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40009C4")]
|
|
private bool haveContentLength;
|
|
|
|
// Token: 0x040009C5 RID: 2501
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40009C5")]
|
|
private long contentLength;
|
|
|
|
// Token: 0x040009C6 RID: 2502
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40009C6")]
|
|
private HttpContinueDelegate continueDelegate;
|
|
|
|
// Token: 0x040009C7 RID: 2503
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x40009C7")]
|
|
private CookieContainer cookieContainer;
|
|
|
|
// Token: 0x040009C8 RID: 2504
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40009C8")]
|
|
private ICredentials credentials;
|
|
|
|
// Token: 0x040009C9 RID: 2505
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40009C9")]
|
|
private bool haveResponse;
|
|
|
|
// Token: 0x040009CA RID: 2506
|
|
[FieldOffset(Offset = "0x89")]
|
|
[Token(Token = "0x40009CA")]
|
|
private bool haveRequest;
|
|
|
|
// Token: 0x040009CB RID: 2507
|
|
[FieldOffset(Offset = "0x8A")]
|
|
[Token(Token = "0x40009CB")]
|
|
private bool requestSent;
|
|
|
|
// Token: 0x040009CC RID: 2508
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40009CC")]
|
|
private WebHeaderCollection webHeaders;
|
|
|
|
// Token: 0x040009CD RID: 2509
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x40009CD")]
|
|
private bool keepAlive;
|
|
|
|
// Token: 0x040009CE RID: 2510
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x40009CE")]
|
|
private int maxAutoRedirect;
|
|
|
|
// Token: 0x040009CF RID: 2511
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x40009CF")]
|
|
private string mediaType;
|
|
|
|
// Token: 0x040009D0 RID: 2512
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x40009D0")]
|
|
private string method;
|
|
|
|
// Token: 0x040009D1 RID: 2513
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x40009D1")]
|
|
private string initialMethod;
|
|
|
|
// Token: 0x040009D2 RID: 2514
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x40009D2")]
|
|
private bool pipelined;
|
|
|
|
// Token: 0x040009D3 RID: 2515
|
|
[FieldOffset(Offset = "0xB9")]
|
|
[Token(Token = "0x40009D3")]
|
|
private bool preAuthenticate;
|
|
|
|
// Token: 0x040009D4 RID: 2516
|
|
[FieldOffset(Offset = "0xBA")]
|
|
[Token(Token = "0x40009D4")]
|
|
private bool usedPreAuth;
|
|
|
|
// Token: 0x040009D5 RID: 2517
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x40009D5")]
|
|
private Version version;
|
|
|
|
// Token: 0x040009D6 RID: 2518
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40009D6")]
|
|
private bool force_version;
|
|
|
|
// Token: 0x040009D7 RID: 2519
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40009D7")]
|
|
private Version actualVersion;
|
|
|
|
// Token: 0x040009D8 RID: 2520
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40009D8")]
|
|
private IWebProxy proxy;
|
|
|
|
// Token: 0x040009D9 RID: 2521
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40009D9")]
|
|
private bool sendChunked;
|
|
|
|
// Token: 0x040009DA RID: 2522
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40009DA")]
|
|
private ServicePoint servicePoint;
|
|
|
|
// Token: 0x040009DB RID: 2523
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x40009DB")]
|
|
private int timeout;
|
|
|
|
// Token: 0x040009DC RID: 2524
|
|
[FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x40009DC")]
|
|
private WebConnectionStream writeStream;
|
|
|
|
// Token: 0x040009DD RID: 2525
|
|
[FieldOffset(Offset = "0x100")]
|
|
[Token(Token = "0x40009DD")]
|
|
private HttpWebResponse webResponse;
|
|
|
|
// Token: 0x040009DE RID: 2526
|
|
[FieldOffset(Offset = "0x108")]
|
|
[Token(Token = "0x40009DE")]
|
|
private WebAsyncResult asyncWrite;
|
|
|
|
// Token: 0x040009DF RID: 2527
|
|
[FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x40009DF")]
|
|
private WebAsyncResult asyncRead;
|
|
|
|
// Token: 0x040009E0 RID: 2528
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x40009E0")]
|
|
private EventHandler abortHandler;
|
|
|
|
// Token: 0x040009E1 RID: 2529
|
|
[FieldOffset(Offset = "0x120")]
|
|
[Token(Token = "0x40009E1")]
|
|
private int aborted;
|
|
|
|
// Token: 0x040009E2 RID: 2530
|
|
[FieldOffset(Offset = "0x124")]
|
|
[Token(Token = "0x40009E2")]
|
|
private bool gotRequestStream;
|
|
|
|
// Token: 0x040009E3 RID: 2531
|
|
[FieldOffset(Offset = "0x128")]
|
|
[Token(Token = "0x40009E3")]
|
|
private int redirects;
|
|
|
|
// Token: 0x040009E4 RID: 2532
|
|
[FieldOffset(Offset = "0x12C")]
|
|
[Token(Token = "0x40009E4")]
|
|
private bool expectContinue;
|
|
|
|
// Token: 0x040009E5 RID: 2533
|
|
[FieldOffset(Offset = "0x130")]
|
|
[Token(Token = "0x40009E5")]
|
|
private byte[] bodyBuffer;
|
|
|
|
// Token: 0x040009E6 RID: 2534
|
|
[FieldOffset(Offset = "0x138")]
|
|
[Token(Token = "0x40009E6")]
|
|
private int bodyBufferLength;
|
|
|
|
// Token: 0x040009E7 RID: 2535
|
|
[FieldOffset(Offset = "0x13C")]
|
|
[Token(Token = "0x40009E7")]
|
|
private bool getResponseCalled;
|
|
|
|
// Token: 0x040009E8 RID: 2536
|
|
[FieldOffset(Offset = "0x140")]
|
|
[Token(Token = "0x40009E8")]
|
|
private Exception saved_exc;
|
|
|
|
// Token: 0x040009E9 RID: 2537
|
|
[FieldOffset(Offset = "0x148")]
|
|
[Token(Token = "0x40009E9")]
|
|
private object locker;
|
|
|
|
// Token: 0x040009EA RID: 2538
|
|
[FieldOffset(Offset = "0x150")]
|
|
[Token(Token = "0x40009EA")]
|
|
private bool finished_reading;
|
|
|
|
// Token: 0x040009EB RID: 2539
|
|
[FieldOffset(Offset = "0x158")]
|
|
[Token(Token = "0x40009EB")]
|
|
internal WebConnection WebConnection;
|
|
|
|
// Token: 0x040009EC RID: 2540
|
|
[FieldOffset(Offset = "0x160")]
|
|
[Token(Token = "0x40009EC")]
|
|
private DecompressionMethods auto_decomp;
|
|
|
|
// Token: 0x040009ED RID: 2541
|
|
[Token(Token = "0x40009ED")]
|
|
private static int defaultMaxResponseHeadersLength;
|
|
|
|
// Token: 0x040009EE RID: 2542
|
|
[FieldOffset(Offset = "0x164")]
|
|
[Token(Token = "0x40009EE")]
|
|
private int readWriteTimeout;
|
|
|
|
// Token: 0x040009EF RID: 2543
|
|
[FieldOffset(Offset = "0x168")]
|
|
[Token(Token = "0x40009EF")]
|
|
private MonoTlsProvider tlsProvider;
|
|
|
|
// Token: 0x040009F0 RID: 2544
|
|
[FieldOffset(Offset = "0x170")]
|
|
[Token(Token = "0x40009F0")]
|
|
private MonoTlsSettings tlsSettings;
|
|
|
|
// Token: 0x040009F1 RID: 2545
|
|
[FieldOffset(Offset = "0x178")]
|
|
[Token(Token = "0x40009F1")]
|
|
private ServerCertValidationCallback certValidationCallback;
|
|
|
|
// Token: 0x040009F2 RID: 2546
|
|
[FieldOffset(Offset = "0x180")]
|
|
[Token(Token = "0x40009F2")]
|
|
private HttpWebRequest.AuthorizationState auth_state;
|
|
|
|
// Token: 0x040009F3 RID: 2547
|
|
[FieldOffset(Offset = "0x190")]
|
|
[Token(Token = "0x40009F3")]
|
|
private HttpWebRequest.AuthorizationState proxy_auth_state;
|
|
|
|
// Token: 0x040009F4 RID: 2548
|
|
[FieldOffset(Offset = "0x1A0")]
|
|
[Token(Token = "0x40009F4")]
|
|
private string host;
|
|
|
|
// Token: 0x040009F5 RID: 2549
|
|
[FieldOffset(Offset = "0x1A8")]
|
|
[Token(Token = "0x40009F5")]
|
|
[NonSerialized]
|
|
internal Action<Stream> ResendContentFactory;
|
|
|
|
// Token: 0x040009F7 RID: 2551
|
|
[FieldOffset(Offset = "0x1B1")]
|
|
[Token(Token = "0x40009F7")]
|
|
private bool unsafe_auth_blah;
|
|
|
|
// Token: 0x040009F9 RID: 2553
|
|
[FieldOffset(Offset = "0x1B8")]
|
|
[Token(Token = "0x40009F9")]
|
|
internal WebConnection StoredConnection;
|
|
|
|
// Token: 0x02000290 RID: 656
|
|
[Token(Token = "0x2000290")]
|
|
private enum NtlmAuthState
|
|
{
|
|
// Token: 0x040009FB RID: 2555
|
|
[Token(Token = "0x40009FB")]
|
|
None,
|
|
// Token: 0x040009FC RID: 2556
|
|
[Token(Token = "0x40009FC")]
|
|
Challenge,
|
|
// Token: 0x040009FD RID: 2557
|
|
[Token(Token = "0x40009FD")]
|
|
Response
|
|
}
|
|
|
|
// Token: 0x02000291 RID: 657
|
|
[Token(Token = "0x2000291")]
|
|
private struct AuthorizationState
|
|
{
|
|
// Token: 0x17000364 RID: 868
|
|
// (get) Token: 0x0600110F RID: 4367 RVA: 0x00008010 File Offset: 0x00006210
|
|
[Token(Token = "0x17000364")]
|
|
public bool IsCompleted
|
|
{
|
|
[Token(Token = "0x600110F")]
|
|
[Address(RVA = "0x897E50", Offset = "0x896E50", VA = "0x180897E50")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000365 RID: 869
|
|
// (get) Token: 0x06001110 RID: 4368 RVA: 0x00008028 File Offset: 0x00006228
|
|
[Token(Token = "0x17000365")]
|
|
public HttpWebRequest.NtlmAuthState NtlmAuthState
|
|
{
|
|
[Token(Token = "0x6001110")]
|
|
[Address(RVA = "0x89A1B0", Offset = "0x8991B0", VA = "0x18089A1B0")]
|
|
get
|
|
{
|
|
return HttpWebRequest.NtlmAuthState.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000366 RID: 870
|
|
// (get) Token: 0x06001111 RID: 4369 RVA: 0x00008040 File Offset: 0x00006240
|
|
[Token(Token = "0x17000366")]
|
|
public bool IsNtlmAuthenticated
|
|
{
|
|
[Token(Token = "0x6001111")]
|
|
[Address(RVA = "0xB245D0", Offset = "0xB235D0", VA = "0x180B245D0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001112 RID: 4370 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001112")]
|
|
[Address(RVA = "0xB245B0", Offset = "0xB235B0", VA = "0x180B245B0")]
|
|
public AuthorizationState(HttpWebRequest request, bool isProxy)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001113 RID: 4371 RVA: 0x00008058 File Offset: 0x00006258
|
|
[Token(Token = "0x6001113")]
|
|
[Address(RVA = "0xB24230", Offset = "0xB23230", VA = "0x180B24230")]
|
|
public bool CheckAuthorization(WebResponse response, HttpStatusCode code)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06001114 RID: 4372 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001114")]
|
|
[Address(RVA = "0xB24490", Offset = "0xB23490", VA = "0x180B24490")]
|
|
public void Reset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001115 RID: 4373 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001115")]
|
|
[Address(RVA = "0xB24500", Offset = "0xB23500", VA = "0x180B24500", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040009FE RID: 2558
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40009FE")]
|
|
private readonly HttpWebRequest request;
|
|
|
|
// Token: 0x040009FF RID: 2559
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40009FF")]
|
|
private readonly bool isProxy;
|
|
|
|
// Token: 0x04000A00 RID: 2560
|
|
[FieldOffset(Offset = "0x9")]
|
|
[Token(Token = "0x4000A00")]
|
|
private bool isCompleted;
|
|
|
|
// Token: 0x04000A01 RID: 2561
|
|
[FieldOffset(Offset = "0xC")]
|
|
[Token(Token = "0x4000A01")]
|
|
private HttpWebRequest.NtlmAuthState ntlm_auth_state;
|
|
}
|
|
}
|
|
}
|