using System; using System.Collections; using System.Net.Cache; using System.Net.Security; using System.Runtime.Serialization; using System.Security.Principal; using Cpp2IlInjected; namespace System.Net { /// Makes a request to a Uniform Resource Identifier (URI). This is an class. // Token: 0x02000241 RID: 577 [Token(Token = "0x2000241")] [Serializable] public abstract class WebRequest : MarshalByRefObject, ISerializable { // Token: 0x170002AC RID: 684 // (get) Token: 0x06000E7A RID: 3706 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002AC")] private static object InternalSyncObject { [Token(Token = "0x6000E7A")] [Address(RVA = "0x409710", Offset = "0x408510", VA = "0x180409710")] get { return null; } } // Token: 0x06000E7B RID: 3707 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7B")] [Address(RVA = "0x408D70", Offset = "0x407B70", VA = "0x180408D70")] private static WebRequest Create(Uri requestUri, bool useUriBase) { return null; } /// Initializes a new instance for the specified URI scheme. /// The URI that identifies the Internet resource. /// A descendant for the specific URI scheme. /// The request scheme specified in has not been registered. /// /// is . /// The caller does not have permission to connect to the requested URI or a URI that the request is redirected to. /// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. /// /// /// /// /// The URI specified in is not a valid URI. // Token: 0x06000E7C RID: 3708 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7C")] [Address(RVA = "0x408BF0", Offset = "0x4079F0", VA = "0x180408BF0")] public static WebRequest Create(string requestUriString) { return null; } /// Initializes a new instance for the specified URI scheme. /// A containing the URI of the requested resource. /// A descendant for the specified URI scheme. /// The request scheme specified in is not registered. /// /// is . /// The caller does not have permission to connect to the requested URI or a URI that the request is redirected to. // Token: 0x06000E7D RID: 3709 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7D")] [Address(RVA = "0x408CB0", Offset = "0x407AB0", VA = "0x180408CB0")] public static WebRequest Create(Uri requestUri) { return null; } // Token: 0x170002AD RID: 685 // (get) Token: 0x06000E7E RID: 3710 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002AD")] internal static ArrayList PrefixList { [Token(Token = "0x6000E7E")] [Address(RVA = "0x409850", Offset = "0x408650", VA = "0x180409850")] get { return null; } } // Token: 0x06000E7F RID: 3711 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7F")] [Address(RVA = "0x409150", Offset = "0x407F50", VA = "0x180409150")] private static ArrayList PopulatePrefixList() { return null; } /// Initializes a new instance of the class. // Token: 0x06000E80 RID: 3712 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E80")] [Address(RVA = "0x4093E0", Offset = "0x4081E0", VA = "0x1804093E0")] protected WebRequest() { } /// Initializes a new instance of the class from the specified instances of the and classes. /// A that contains the information required to serialize the new instance. /// A that indicates the source of the serialized stream associated with the new instance. /// Any attempt is made to access the constructor, when the constructor is not overridden in a descendant class. // Token: 0x06000E81 RID: 3713 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E81")] [Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")] protected WebRequest(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// When overridden in a descendant class, populates a instance with the data needed to serialize the . /// A , which holds the serialized data for the . /// A that contains the destination of the serialized stream associated with the new . /// An attempt is made to serialize the object, when the interface is not overridden in a descendant class. // Token: 0x06000E82 RID: 3714 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E82")] [Address(RVA = "0x409310", Offset = "0x408110", VA = "0x180409310", Slot = "6")] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Populates a with the data needed to serialize the target object. /// The to populate with data. /// A that specifies the destination for this serialization. // Token: 0x06000E83 RID: 3715 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E83")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "7")] protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Gets or sets the cache policy for this request. /// A object that defines a cache policy. // Token: 0x170002AE RID: 686 // (set) Token: 0x06000E84 RID: 3716 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AE")] public virtual RequestCachePolicy CachePolicy { [Token(Token = "0x6000E84")] [Address(RVA = "0x409070", Offset = "0x407E70", VA = "0x180409070", Slot = "8")] set { } } // Token: 0x06000E85 RID: 3717 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E85")] [Address(RVA = "0x409070", Offset = "0x407E70", VA = "0x180409070")] private void InternalSetCachePolicy(RequestCachePolicy policy) { } /// When overridden in a descendant class, gets or sets the protocol method to use in this request. /// The protocol method to use in this request. /// If the property is not overridden in a descendant class, any attempt is made to get or set the property. // Token: 0x170002AF RID: 687 // (get) Token: 0x06000E86 RID: 3718 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E87 RID: 3719 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AF")] public virtual string Method { [Token(Token = "0x6000E86")] [Address(RVA = "0x409810", Offset = "0x408610", VA = "0x180409810", Slot = "9")] get { return null; } [Token(Token = "0x6000E87")] [Address(RVA = "0x409D70", Offset = "0x408B70", VA = "0x180409D70", Slot = "10")] set { } } /// When overridden in a descendant class, gets the URI of the Internet resource associated with the request. /// A representing the resource associated with the request /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B0 RID: 688 // (get) Token: 0x06000E88 RID: 3720 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B0")] public virtual Uri RequestUri { [Token(Token = "0x6000E88")] [Address(RVA = "0x409BE0", Offset = "0x4089E0", VA = "0x180409BE0", Slot = "11")] get { return null; } } /// When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. /// A containing the header name/value pairs associated with this request. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B1 RID: 689 // (get) Token: 0x06000E89 RID: 3721 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E8A RID: 3722 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B1")] public virtual WebHeaderCollection Headers { [Token(Token = "0x6000E89")] [Address(RVA = "0x4094E0", Offset = "0x4082E0", VA = "0x1804094E0", Slot = "12")] get { return null; } [Token(Token = "0x6000E8A")] [Address(RVA = "0x409D30", Offset = "0x408B30", VA = "0x180409D30", Slot = "13")] set { } } /// When overridden in a descendant class, gets or sets the content length of the request data being sent. /// The number of bytes of request data being sent. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B2 RID: 690 // (get) Token: 0x06000E8B RID: 3723 RVA: 0x00007308 File Offset: 0x00005508 // (set) Token: 0x06000E8C RID: 3724 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B2")] public virtual long ContentLength { [Token(Token = "0x6000E8B")] [Address(RVA = "0x409410", Offset = "0x408210", VA = "0x180409410", Slot = "14")] get { return 0L; } [Token(Token = "0x6000E8C")] [Address(RVA = "0x409C70", Offset = "0x408A70", VA = "0x180409C70", Slot = "15")] set { } } /// When overridden in a descendant class, gets or sets the content type of the request data being sent. /// The content type of the request data. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B3 RID: 691 // (set) Token: 0x06000E8D RID: 3725 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B3")] public virtual string ContentType { [Token(Token = "0x6000E8D")] [Address(RVA = "0x409CB0", Offset = "0x408AB0", VA = "0x180409CB0", Slot = "16")] set { } } /// When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource. /// An containing the authentication credentials associated with the request. The default is . /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B4 RID: 692 // (get) Token: 0x06000E8E RID: 3726 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E8F RID: 3727 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B4")] public virtual ICredentials Credentials { [Token(Token = "0x6000E8E")] [Address(RVA = "0x409450", Offset = "0x408250", VA = "0x180409450", Slot = "17")] get { return null; } [Token(Token = "0x6000E8F")] [Address(RVA = "0x409CF0", Offset = "0x408AF0", VA = "0x180409CF0", Slot = "18")] set { } } /// When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource. /// The to use to access the Internet resource. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B5 RID: 693 // (get) Token: 0x06000E90 RID: 3728 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E91 RID: 3729 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B5")] public virtual IWebProxy Proxy { [Token(Token = "0x6000E90")] [Address(RVA = "0x409BA0", Offset = "0x4089A0", VA = "0x180409BA0", Slot = "19")] get { return null; } [Token(Token = "0x6000E91")] [Address(RVA = "0x409DB0", Offset = "0x408BB0", VA = "0x180409DB0", Slot = "20")] set { } } /// Gets or sets the length of time, in milliseconds, before the request times out. /// The length of time, in milliseconds, until the request times out, or the value to indicate that the request does not time out. The default value is defined by the descendant class. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. // Token: 0x170002B6 RID: 694 // (get) Token: 0x06000E92 RID: 3730 RVA: 0x00007320 File Offset: 0x00005520 [Token(Token = "0x170002B6")] public virtual int Timeout { [Token(Token = "0x6000E92")] [Address(RVA = "0x409C20", Offset = "0x408A20", VA = "0x180409C20", Slot = "21")] get { return 0; } } /// When overridden in a descendant class, returns a response to an Internet request. /// A containing the response to the Internet request. /// Any attempt is made to access the method, when the method is not overridden in a descendant class. // Token: 0x06000E93 RID: 3731 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E93")] [Address(RVA = "0x409030", Offset = "0x407E30", VA = "0x180409030", Slot = "22")] public virtual WebResponse GetResponse() { return null; } /// When overridden in a descendant class, begins an asynchronous request for an Internet resource. /// The delegate. /// An object containing state information for this asynchronous request. /// An that references the asynchronous request. /// Any attempt is made to access the method, when the method is not overridden in a descendant class. // Token: 0x06000E94 RID: 3732 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E94")] [Address(RVA = "0x408BB0", Offset = "0x4079B0", VA = "0x180408BB0", Slot = "23")] public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, object state) { return null; } /// When overridden in a descendant class, returns a . /// An that references a pending request for a response. /// A that contains a response to the Internet request. /// Any attempt is made to access the method, when the method is not overridden in a descendant class. // Token: 0x06000E95 RID: 3733 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E95")] [Address(RVA = "0x408FF0", Offset = "0x407DF0", VA = "0x180408FF0", Slot = "24")] public virtual WebResponse EndGetResponse(IAsyncResult asyncResult) { return null; } /// Aborts the request. /// Any attempt is made to access the method, when the method is not overridden in a descendant class. // Token: 0x06000E96 RID: 3734 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E96")] [Address(RVA = "0x408B70", Offset = "0x407970", VA = "0x180408B70", Slot = "25")] public virtual void Abort() { } // Token: 0x170002B7 RID: 695 // (get) Token: 0x06000E97 RID: 3735 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E98 RID: 3736 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B7")] internal RequestCacheProtocol CacheProtocol { [Token(Token = "0x6000E97")] [Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")] get { return null; } [Token(Token = "0x6000E98")] [Address(RVA = "0x409C60", Offset = "0x408A60", VA = "0x180409C60")] set { } } // Token: 0x170002B8 RID: 696 // (get) Token: 0x06000E99 RID: 3737 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B8")] internal static IWebProxy InternalDefaultWebProxy { [Token(Token = "0x6000E99")] [Address(RVA = "0x409520", Offset = "0x408320", VA = "0x180409520")] get { return null; } } /// Gets or sets the global HTTP proxy. /// An used by every call to instances of . // Token: 0x170002B9 RID: 697 // (get) Token: 0x06000E9A RID: 3738 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B9")] public static IWebProxy DefaultWebProxy { [Token(Token = "0x6000E9A")] [Address(RVA = "0x409490", Offset = "0x408290", VA = "0x180409490")] get { return null; } } // Token: 0x0400087F RID: 2175 [Token(Token = "0x400087F")] private static ArrayList s_PrefixList; // Token: 0x04000880 RID: 2176 [Token(Token = "0x4000880")] private static object s_InternalSyncObject; // Token: 0x04000881 RID: 2177 [Token(Token = "0x4000881")] private static TimerThread.Queue s_DefaultTimerQueue; // Token: 0x04000882 RID: 2178 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000882")] private AuthenticationLevel m_AuthenticationLevel; // Token: 0x04000883 RID: 2179 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x4000883")] private TokenImpersonationLevel m_ImpersonationLevel; // Token: 0x04000884 RID: 2180 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000884")] private RequestCachePolicy m_CachePolicy; // Token: 0x04000885 RID: 2181 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000885")] private RequestCacheProtocol m_CacheProtocol; // Token: 0x04000886 RID: 2182 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000886")] private RequestCacheBinding m_CacheBinding; // Token: 0x04000887 RID: 2183 [Token(Token = "0x4000887")] private static WebRequest.DesignerWebRequestCreate webRequestCreate; // Token: 0x04000888 RID: 2184 [Token(Token = "0x4000888")] private static IWebProxy s_DefaultWebProxy; // Token: 0x04000889 RID: 2185 [Token(Token = "0x4000889")] private static bool s_DefaultWebProxyInitialized; // Token: 0x02000242 RID: 578 [Token(Token = "0x2000242")] internal class DesignerWebRequestCreate : IWebRequestCreate { // Token: 0x06000E9C RID: 3740 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E9C")] [Address(RVA = "0x3F7220", Offset = "0x3F6020", VA = "0x1803F7220", Slot = "4")] public WebRequest Create(Uri uri) { return null; } // Token: 0x06000E9D RID: 3741 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E9D")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] public DesignerWebRequestCreate() { } } // Token: 0x02000243 RID: 579 [Token(Token = "0x2000243")] internal class WebProxyWrapperOpaque : IWebProxy { // Token: 0x06000E9E RID: 3742 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E9E")] [Address(RVA = "0x406EC0", Offset = "0x405CC0", VA = "0x180406EC0", Slot = "4")] public Uri GetProxy(Uri destination) { return null; } // Token: 0x06000E9F RID: 3743 RVA: 0x00007338 File Offset: 0x00005538 [Token(Token = "0x6000E9F")] [Address(RVA = "0x407050", Offset = "0x405E50", VA = "0x180407050", Slot = "5")] public bool IsBypassed(Uri host) { return default(bool); } // Token: 0x170002BA RID: 698 // (get) Token: 0x06000EA0 RID: 3744 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002BA")] public ICredentials Credentials { [Token(Token = "0x6000EA0")] [Address(RVA = "0x407190", Offset = "0x405F90", VA = "0x180407190", Slot = "6")] get { return null; } } // Token: 0x0400088A RID: 2186 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400088A")] protected readonly WebProxy webProxy; } // Token: 0x02000244 RID: 580 [Token(Token = "0x2000244")] internal class WebProxyWrapper : WebRequest.WebProxyWrapperOpaque { // Token: 0x170002BB RID: 699 // (get) Token: 0x06000EA1 RID: 3745 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002BB")] internal WebProxy WebProxy { [Token(Token = "0x6000EA1")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } } } } }