using System; using System.IO; using System.Runtime.Serialization; namespace System.Net { /// Provides a response from a Uniform Resource Identifier (URI). This is an abstract class. // Token: 0x02000274 RID: 628 [Serializable] public abstract class WebResponse : MarshalByRefObject, IDisposable, ISerializable { /// Initializes a new instance of the class. // Token: 0x06001742 RID: 5954 RVA: 0x0004DF98 File Offset: 0x0004C198 protected WebResponse() { } /// Initializes a new instance of the class from the specified instances of the and classes. /// An instance of the class that contains the information required to serialize the new instance. /// An instance of the class that indicates the source of the serialized stream that is associated with the new instance. /// Any attempt is made to access the constructor, when the constructor is not overridden in a descendant class. // Token: 0x06001743 RID: 5955 RVA: 0x0004DFA0 File Offset: 0x0004C1A0 protected WebResponse(SerializationInfo serializationInfo, StreamingContext streamingContext) { throw new NotSupportedException(); } /// When overridden in a derived class, releases all resources used by the . /// Any attempt is made to access the method, when the method is not overridden in a descendant class. // Token: 0x06001744 RID: 5956 RVA: 0x0004DFB0 File Offset: 0x0004C1B0 void IDisposable.Dispose() { this.Close(); } /// Populates a instance with the data that is needed to serialize . /// A that will hold the serialized data for the . /// A that contains the destination of the serialized stream that is associated with the new . // Token: 0x06001745 RID: 5957 RVA: 0x0004DFB8 File Offset: 0x0004C1B8 void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { throw new NotSupportedException(); } /// When overridden in a descendant class, gets or sets the content length of data being received. /// The number of bytes returned from the Internet resource. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. /// /// /// // Token: 0x17000764 RID: 1892 // (get) Token: 0x06001746 RID: 5958 RVA: 0x0004DFC0 File Offset: 0x0004C1C0 // (set) Token: 0x06001747 RID: 5959 RVA: 0x0004DFC8 File Offset: 0x0004C1C8 public virtual long ContentLength { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } } /// When overridden in a derived class, gets or sets the content type of the data being received. /// A string that contains the content type of the response. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. /// /// /// // Token: 0x17000765 RID: 1893 // (get) Token: 0x06001748 RID: 5960 RVA: 0x0004DFD0 File Offset: 0x0004C1D0 // (set) Token: 0x06001749 RID: 5961 RVA: 0x0004DFD8 File Offset: 0x0004C1D8 public virtual string ContentType { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } } /// When overridden in a derived class, gets a collection of header name-value pairs associated with this request. /// An instance of the class that contains header values associated with this response. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. /// /// /// // Token: 0x17000766 RID: 1894 // (get) Token: 0x0600174A RID: 5962 RVA: 0x0004DFE0 File Offset: 0x0004C1E0 public virtual WebHeaderCollection Headers { get { throw new NotSupportedException(); } } // Token: 0x0600174B RID: 5963 RVA: 0x0004DFE8 File Offset: 0x0004C1E8 private static Exception GetMustImplement() { return new NotImplementedException(); } /// Gets a value that indicates whether this response was obtained from the cache. /// true if the response was taken from the cache; otherwise, false. // Token: 0x17000767 RID: 1895 // (get) Token: 0x0600174C RID: 5964 RVA: 0x0004DFF0 File Offset: 0x0004C1F0 [global::System.MonoTODO] public virtual bool IsFromCache { get { throw WebResponse.GetMustImplement(); } } /// Gets a value that indicates whether mutual authentication occurred. /// true if both client and server were authenticated; otherwise, false. // Token: 0x17000768 RID: 1896 // (get) Token: 0x0600174D RID: 5965 RVA: 0x0004DFF8 File Offset: 0x0004C1F8 [global::System.MonoTODO] public virtual bool IsMutuallyAuthenticated { get { throw WebResponse.GetMustImplement(); } } /// When overridden in a derived class, gets the URI of the Internet resource that actually responded to the request. /// An instance of the class that contains the URI of the Internet resource that actually responded to the request. /// Any attempt is made to get or set the property, when the property is not overridden in a descendant class. /// /// /// // Token: 0x17000769 RID: 1897 // (get) Token: 0x0600174E RID: 5966 RVA: 0x0004E000 File Offset: 0x0004C200 public virtual global::System.Uri ResponseUri { get { throw new NotSupportedException(); } } /// When overridden by a descendant class, closes the response stream. /// Any attempt is made to access the method, when the method is not overridden in a descendant class. /// /// /// // Token: 0x0600174F RID: 5967 RVA: 0x0004E008 File Offset: 0x0004C208 public virtual void Close() { throw new NotSupportedException(); } /// When overridden in a descendant class, returns the data stream from the Internet resource. /// An instance of the class for reading data from the Internet resource. /// Any attempt is made to access the method, when the method is not overridden in a descendant class. /// /// /// // Token: 0x06001750 RID: 5968 RVA: 0x0004E010 File Offset: 0x0004C210 public virtual Stream GetResponseStream() { throw new NotSupportedException(); } /// Populates a with the data that is needed to serialize the target object. /// The to populate with data. /// A that specifies the destination for this serialization. // Token: 0x06001751 RID: 5969 RVA: 0x0004E018 File Offset: 0x0004C218 [global::System.MonoTODO] protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { throw WebResponse.GetMustImplement(); } } }