Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

124 lines
7.2 KiB
C#

using System;
using System.IO;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Provides a response from a Uniform Resource Identifier (URI). This is an <see langword="abstract" /> class.</summary>
// Token: 0x02000241 RID: 577
[Token(Token = "0x2000241")]
[Serializable]
public abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.WebResponse" /> class.</summary>
// Token: 0x06000E8C RID: 3724 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E8C")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected WebResponse()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.WebResponse" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="serializationInfo">An instance of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> class that contains the information required to serialize the new <see cref="T:System.Net.WebRequest" /> instance.</param>
/// <param name="streamingContext">An instance of the <see cref="T:System.Runtime.Serialization.StreamingContext" /> class that indicates the source of the serialized stream that is associated with the new <see cref="T:System.Net.WebRequest" /> instance.</param>
/// <exception cref="T:System.NotSupportedException">Any attempt is made to access the constructor, when the constructor is not overridden in a descendant class.</exception>
// Token: 0x06000E8D RID: 3725 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E8D")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected WebResponse(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize <see cref="T:System.Net.WebResponse" />.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that will hold the serialized data for the <see cref="T:System.Net.WebResponse" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the destination of the serialized stream that is associated with the new <see cref="T:System.Net.WebResponse" />.</param>
// Token: 0x06000E8E RID: 3726 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E8E")]
[Address(RVA = "0x779A50", Offset = "0x778A50", VA = "0x180779A50", Slot = "6")]
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data that is 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: 0x06000E8F RID: 3727 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E8F")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "8")]
protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>When overridden by a descendant class, closes the response stream.</summary>
/// <exception cref="T:System.NotSupportedException">Any attempt is made to access the method, when the method is not overridden in a descendant class.</exception>
// Token: 0x06000E90 RID: 3728 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E90")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "9")]
public virtual void Close()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.WebResponse" /> object.</summary>
// Token: 0x06000E91 RID: 3729 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E91")]
[Address(RVA = "0x77B4C0", Offset = "0x77A4C0", VA = "0x18077B4C0", Slot = "7")]
public void Dispose()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.WebResponse" /> object, and optionally disposes of the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to releases only unmanaged resources.</param>
// Token: 0x06000E92 RID: 3730 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E92")]
[Address(RVA = "0x77B530", Offset = "0x77A530", VA = "0x18077B530", Slot = "10")]
protected virtual void Dispose(bool disposing)
{
}
/// <summary>When overridden in a descendant class, returns the data stream from the Internet resource.</summary>
/// <returns>An instance of the <see cref="T:System.IO.Stream" /> class for reading data from the Internet resource.</returns>
/// <exception cref="T:System.NotSupportedException">Any attempt is made to access the method, when the method is not overridden in a descendant class.</exception>
// Token: 0x06000E93 RID: 3731 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E93")]
[Address(RVA = "0x77B5A0", Offset = "0x77A5A0", VA = "0x18077B5A0", Slot = "11")]
public virtual Stream GetResponseStream()
{
return null;
}
/// <summary>When overridden in a derived class, gets the URI of the Internet resource that actually responded to the request.</summary>
/// <returns>An instance of the <see cref="T:System.Uri" /> class that contains the URI of the Internet resource that actually responded to the request.</returns>
/// <exception cref="T:System.NotSupportedException">Any attempt is made to get or set the property, when the property is not overridden in a descendant class.</exception>
// Token: 0x170002B8 RID: 696
// (get) Token: 0x06000E94 RID: 3732 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170002B8")]
public virtual Uri ResponseUri
{
[Token(Token = "0x6000E94")]
[Address(RVA = "0x77B620", Offset = "0x77A620", VA = "0x18077B620", Slot = "12")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, gets a collection of header name-value pairs associated with this request.</summary>
/// <returns>An instance of the <see cref="T:System.Net.WebHeaderCollection" /> class that contains header values associated with this response.</returns>
/// <exception cref="T:System.NotSupportedException">Any attempt is made to get or set the property, when the property is not overridden in a descendant class.</exception>
// Token: 0x170002B9 RID: 697
// (get) Token: 0x06000E95 RID: 3733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170002B9")]
public virtual WebHeaderCollection Headers
{
[Token(Token = "0x6000E95")]
[Address(RVA = "0x77B5E0", Offset = "0x77A5E0", VA = "0x18077B5E0", Slot = "13")]
get
{
return null;
}
}
}
}