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: 0x0200023D RID: 573 [Token(Token = "0x200023D")] [Serializable] public abstract class WebRequest : MarshalByRefObject, ISerializable { // Token: 0x170002A8 RID: 680 // (get) Token: 0x06000E64 RID: 3684 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002A8")] private static object InternalSyncObject { [Token(Token = "0x6000E64")] [Address(RVA = "0x77ADF0", Offset = "0x779DF0", VA = "0x18077ADF0")] get { return null; } } // Token: 0x06000E65 RID: 3685 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E65")] [Address(RVA = "0x77A460", Offset = "0x779460", VA = "0x18077A460")] 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: 0x06000E66 RID: 3686 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E66")] [Address(RVA = "0x77A2E0", Offset = "0x7792E0", VA = "0x18077A2E0")] 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: 0x06000E67 RID: 3687 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E67")] [Address(RVA = "0x77A3A0", Offset = "0x7793A0", VA = "0x18077A3A0")] public static WebRequest Create(Uri requestUri) { return null; } // Token: 0x170002A9 RID: 681 // (get) Token: 0x06000E68 RID: 3688 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002A9")] internal static ArrayList PrefixList { [Token(Token = "0x6000E68")] [Address(RVA = "0x77AF30", Offset = "0x779F30", VA = "0x18077AF30")] get { return null; } } // Token: 0x06000E69 RID: 3689 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E69")] [Address(RVA = "0x77A840", Offset = "0x779840", VA = "0x18077A840")] private static ArrayList PopulatePrefixList() { return null; } /// Initializes a new instance of the class. // Token: 0x06000E6A RID: 3690 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6A")] [Address(RVA = "0x77AAC0", Offset = "0x779AC0", VA = "0x18077AAC0")] 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: 0x06000E6B RID: 3691 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6B")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] 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: 0x06000E6C RID: 3692 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6C")] [Address(RVA = "0x77AA00", Offset = "0x779A00", VA = "0x18077AA00", 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: 0x06000E6D RID: 3693 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6D")] [Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x170002AA RID: 682 // (set) Token: 0x06000E6E RID: 3694 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AA")] public virtual RequestCachePolicy CachePolicy { [Token(Token = "0x6000E6E")] [Address(RVA = "0x77A760", Offset = "0x779760", VA = "0x18077A760", Slot = "8")] set { } } // Token: 0x06000E6F RID: 3695 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6F")] [Address(RVA = "0x77A760", Offset = "0x779760", VA = "0x18077A760")] 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: 0x170002AB RID: 683 // (get) Token: 0x06000E70 RID: 3696 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E71 RID: 3697 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AB")] public virtual string Method { [Token(Token = "0x6000E70")] [Address(RVA = "0x77AEF0", Offset = "0x779EF0", VA = "0x18077AEF0", Slot = "9")] get { return null; } [Token(Token = "0x6000E71")] [Address(RVA = "0x77B440", Offset = "0x77A440", VA = "0x18077B440", 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: 0x170002AC RID: 684 // (get) Token: 0x06000E72 RID: 3698 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002AC")] public virtual Uri RequestUri { [Token(Token = "0x6000E72")] [Address(RVA = "0x77B2C0", Offset = "0x77A2C0", VA = "0x18077B2C0", 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: 0x170002AD RID: 685 // (get) Token: 0x06000E73 RID: 3699 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E74 RID: 3700 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AD")] public virtual WebHeaderCollection Headers { [Token(Token = "0x6000E73")] [Address(RVA = "0x77ABC0", Offset = "0x779BC0", VA = "0x18077ABC0", Slot = "12")] get { return null; } [Token(Token = "0x6000E74")] [Address(RVA = "0x77B400", Offset = "0x77A400", VA = "0x18077B400", 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: 0x170002AE RID: 686 // (get) Token: 0x06000E75 RID: 3701 RVA: 0x000072F0 File Offset: 0x000054F0 // (set) Token: 0x06000E76 RID: 3702 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AE")] public virtual long ContentLength { [Token(Token = "0x6000E75")] [Address(RVA = "0x77AAF0", Offset = "0x779AF0", VA = "0x18077AAF0", Slot = "14")] get { return 0L; } [Token(Token = "0x6000E76")] [Address(RVA = "0x77B340", Offset = "0x77A340", VA = "0x18077B340", 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: 0x170002AF RID: 687 // (set) Token: 0x06000E77 RID: 3703 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002AF")] public virtual string ContentType { [Token(Token = "0x6000E77")] [Address(RVA = "0x77B380", Offset = "0x77A380", VA = "0x18077B380", 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: 0x170002B0 RID: 688 // (get) Token: 0x06000E78 RID: 3704 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E79 RID: 3705 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B0")] public virtual ICredentials Credentials { [Token(Token = "0x6000E78")] [Address(RVA = "0x77AB30", Offset = "0x779B30", VA = "0x18077AB30", Slot = "17")] get { return null; } [Token(Token = "0x6000E79")] [Address(RVA = "0x77B3C0", Offset = "0x77A3C0", VA = "0x18077B3C0", 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: 0x170002B1 RID: 689 // (get) Token: 0x06000E7A RID: 3706 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E7B RID: 3707 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B1")] public virtual IWebProxy Proxy { [Token(Token = "0x6000E7A")] [Address(RVA = "0x77B280", Offset = "0x77A280", VA = "0x18077B280", Slot = "19")] get { return null; } [Token(Token = "0x6000E7B")] [Address(RVA = "0x77B480", Offset = "0x77A480", VA = "0x18077B480", 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: 0x170002B2 RID: 690 // (get) Token: 0x06000E7C RID: 3708 RVA: 0x00007308 File Offset: 0x00005508 [Token(Token = "0x170002B2")] public virtual int Timeout { [Token(Token = "0x6000E7C")] [Address(RVA = "0x77B300", Offset = "0x77A300", VA = "0x18077B300", 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: 0x06000E7D RID: 3709 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7D")] [Address(RVA = "0x77A720", Offset = "0x779720", VA = "0x18077A720", 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: 0x06000E7E RID: 3710 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7E")] [Address(RVA = "0x77A2A0", Offset = "0x7792A0", VA = "0x18077A2A0", 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: 0x06000E7F RID: 3711 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E7F")] [Address(RVA = "0x77A6E0", Offset = "0x7796E0", VA = "0x18077A6E0", 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: 0x06000E80 RID: 3712 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E80")] [Address(RVA = "0x77A260", Offset = "0x779260", VA = "0x18077A260", Slot = "25")] public virtual void Abort() { } // Token: 0x170002B3 RID: 691 // (get) Token: 0x06000E81 RID: 3713 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E82 RID: 3714 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002B3")] internal RequestCacheProtocol CacheProtocol { [Token(Token = "0x6000E81")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] get { return null; } [Token(Token = "0x6000E82")] [Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")] set { } } // Token: 0x170002B4 RID: 692 // (get) Token: 0x06000E83 RID: 3715 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B4")] internal static IWebProxy InternalDefaultWebProxy { [Token(Token = "0x6000E83")] [Address(RVA = "0x77AC00", Offset = "0x779C00", VA = "0x18077AC00")] get { return null; } } /// Gets or sets the global HTTP proxy. /// An used by every call to instances of . // Token: 0x170002B5 RID: 693 // (get) Token: 0x06000E84 RID: 3716 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B5")] public static IWebProxy DefaultWebProxy { [Token(Token = "0x6000E84")] [Address(RVA = "0x77AB70", Offset = "0x779B70", VA = "0x18077AB70")] get { return null; } } // Token: 0x04000872 RID: 2162 [Token(Token = "0x4000872")] private static ArrayList s_PrefixList; // Token: 0x04000873 RID: 2163 [Token(Token = "0x4000873")] private static object s_InternalSyncObject; // Token: 0x04000874 RID: 2164 [Token(Token = "0x4000874")] private static TimerThread.Queue s_DefaultTimerQueue; // Token: 0x04000875 RID: 2165 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000875")] private AuthenticationLevel m_AuthenticationLevel; // Token: 0x04000876 RID: 2166 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x4000876")] private TokenImpersonationLevel m_ImpersonationLevel; // Token: 0x04000877 RID: 2167 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000877")] private RequestCachePolicy m_CachePolicy; // Token: 0x04000878 RID: 2168 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000878")] private RequestCacheProtocol m_CacheProtocol; // Token: 0x04000879 RID: 2169 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000879")] private RequestCacheBinding m_CacheBinding; // Token: 0x0400087A RID: 2170 [Token(Token = "0x400087A")] private static WebRequest.DesignerWebRequestCreate webRequestCreate; // Token: 0x0400087B RID: 2171 [Token(Token = "0x400087B")] private static IWebProxy s_DefaultWebProxy; // Token: 0x0400087C RID: 2172 [Token(Token = "0x400087C")] private static bool s_DefaultWebProxyInitialized; // Token: 0x0200023E RID: 574 [Token(Token = "0x200023E")] internal class DesignerWebRequestCreate : IWebRequestCreate { // Token: 0x06000E86 RID: 3718 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E86")] [Address(RVA = "0x768A70", Offset = "0x767A70", VA = "0x180768A70", Slot = "4")] public WebRequest Create(Uri uri) { return null; } // Token: 0x06000E87 RID: 3719 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E87")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] public DesignerWebRequestCreate() { } } // Token: 0x0200023F RID: 575 [Token(Token = "0x200023F")] internal class WebProxyWrapperOpaque : IWebProxy { // Token: 0x06000E88 RID: 3720 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E88")] [Address(RVA = "0x778600", Offset = "0x777600", VA = "0x180778600", Slot = "4")] public Uri GetProxy(Uri destination) { return null; } // Token: 0x06000E89 RID: 3721 RVA: 0x00007320 File Offset: 0x00005520 [Token(Token = "0x6000E89")] [Address(RVA = "0x778790", Offset = "0x777790", VA = "0x180778790", Slot = "5")] public bool IsBypassed(Uri host) { return default(bool); } // Token: 0x170002B6 RID: 694 // (get) Token: 0x06000E8A RID: 3722 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B6")] public ICredentials Credentials { [Token(Token = "0x6000E8A")] [Address(RVA = "0x7788D0", Offset = "0x7778D0", VA = "0x1807788D0", Slot = "6")] get { return null; } } // Token: 0x0400087D RID: 2173 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400087D")] protected readonly WebProxy webProxy; } // Token: 0x02000240 RID: 576 [Token(Token = "0x2000240")] internal class WebProxyWrapper : WebRequest.WebProxyWrapperOpaque { // Token: 0x170002B7 RID: 695 // (get) Token: 0x06000E8B RID: 3723 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002B7")] internal WebProxy WebProxy { [Token(Token = "0x6000E8B")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } } } }