This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
+282
View File
@@ -0,0 +1,282 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Contains HTTP proxy settings for the <see cref="T:System.Net.WebRequest" /> class.</summary>
// Token: 0x02000276 RID: 630
[Token(Token = "0x2000276")]
[Serializable]
public class WebProxy : IWebProxy, ISerializable
{
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.WebProxy" /> class.</summary>
// Token: 0x06000FEA RID: 4074 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FEA")]
[Address(RVA = "0x408840", Offset = "0x407640", VA = "0x180408840")]
public WebProxy()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.WebProxy" /> class with the specified <see cref="T:System.Uri" /> instance, bypass setting, list of URIs to bypass, and credentials.</summary>
/// <param name="Address">A <see cref="T:System.Uri" /> instance that contains the address of the proxy server.</param>
/// <param name="BypassOnLocal">
/// <see langword="true" /> to bypass the proxy for local addresses; otherwise, <see langword="false" />.</param>
/// <param name="BypassList">An array of regular expression strings that contains the URIs of the servers to bypass.</param>
/// <param name="Credentials">An <see cref="T:System.Net.ICredentials" /> instance to submit to the proxy server for authentication.</param>
// Token: 0x06000FEB RID: 4075 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FEB")]
[Address(RVA = "0x408500", Offset = "0x407300", VA = "0x180408500")]
public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials)
{
}
/// <summary>Gets or sets the credentials to submit to the proxy server for authentication.</summary>
/// <returns>An <see cref="T:System.Net.ICredentials" /> instance that contains the credentials to submit to the proxy server for authentication.</returns>
/// <exception cref="T:System.InvalidOperationException">You attempted to set this property when the <see cref="P:System.Net.WebProxy.UseDefaultCredentials" /> property was set to <see langword="true" />.</exception>
// Token: 0x1700030D RID: 781
// (get) Token: 0x06000FEC RID: 4076 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700030D")]
public ICredentials Credentials
{
[Token(Token = "0x6000FEC")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "6")]
get
{
return null;
}
}
/// <summary>Gets or sets a <see cref="T:System.Boolean" /> value that controls whether the <see cref="P:System.Net.CredentialCache.DefaultCredentials" /> are sent with requests.</summary>
/// <returns>
/// <see langword="true" /> if the default credentials are used; otherwise, <see langword="false" />. The default value is <see langword="false" />.</returns>
/// <exception cref="T:System.InvalidOperationException">You attempted to set this property when the <see cref="P:System.Net.WebProxy.Credentials" /> property contains credentials other than the default credentials.</exception>
// Token: 0x1700030E RID: 782
// (get) Token: 0x06000FED RID: 4077 RVA: 0x000079E0 File Offset: 0x00005BE0
// (set) Token: 0x06000FEE RID: 4078 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700030E")]
public bool UseDefaultCredentials
{
[Token(Token = "0x6000FED")]
[Address(RVA = "0x4088A0", Offset = "0x4076A0", VA = "0x1804088A0")]
get
{
return default(bool);
}
[Token(Token = "0x6000FEE")]
[Address(RVA = "0x408920", Offset = "0x407720", VA = "0x180408920")]
set
{
}
}
/// <summary>Returns the proxied URI for a request.</summary>
/// <param name="destination">The <see cref="T:System.Uri" /> instance of the requested Internet resource.</param>
/// <returns>The <see cref="T:System.Uri" /> instance of the Internet resource, if the resource is on the bypass list; otherwise, the <see cref="T:System.Uri" /> instance of the proxy.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="destination" /> parameter is <see langword="null" />.</exception>
// Token: 0x06000FEF RID: 4079 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FEF")]
[Address(RVA = "0x4076C0", Offset = "0x4064C0", VA = "0x1804076C0", Slot = "4")]
public Uri GetProxy(Uri destination)
{
return null;
}
// Token: 0x06000FF0 RID: 4080 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FF0")]
[Address(RVA = "0x408340", Offset = "0x407140", VA = "0x180408340")]
private void UpdateRegExList(bool canThrow)
{
}
// Token: 0x06000FF1 RID: 4081 RVA: 0x000079F8 File Offset: 0x00005BF8
[Token(Token = "0x6000FF1")]
[Address(RVA = "0x408110", Offset = "0x406F10", VA = "0x180408110")]
private bool IsMatchInBypassList(Uri input)
{
return default(bool);
}
// Token: 0x06000FF2 RID: 4082 RVA: 0x00007A10 File Offset: 0x00005C10
[Token(Token = "0x6000FF2")]
[Address(RVA = "0x407F90", Offset = "0x406D90", VA = "0x180407F90")]
private bool IsLocal(Uri host)
{
return default(bool);
}
// Token: 0x06000FF3 RID: 4083 RVA: 0x00007A28 File Offset: 0x00005C28
[Token(Token = "0x6000FF3")]
[Address(RVA = "0x407E80", Offset = "0x406C80", VA = "0x180407E80")]
private bool IsLocalInProxyHash(Uri host)
{
return default(bool);
}
/// <summary>Indicates whether to use the proxy server for the specified host.</summary>
/// <param name="host">The <see cref="T:System.Uri" /> instance of the host to check for proxy use.</param>
/// <returns>
/// <see langword="true" /> if the proxy server should not be used for <paramref name="host" />; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="host" /> parameter is <see langword="null" />.</exception>
// Token: 0x06000FF4 RID: 4084 RVA: 0x00007A40 File Offset: 0x00005C40
[Token(Token = "0x6000FF4")]
[Address(RVA = "0x407D40", Offset = "0x406B40", VA = "0x180407D40", Slot = "5")]
public bool IsBypassed(Uri host)
{
return default(bool);
}
// Token: 0x06000FF5 RID: 4085 RVA: 0x00007A58 File Offset: 0x00005C58
[Token(Token = "0x6000FF5")]
[Address(RVA = "0x407920", Offset = "0x406720", VA = "0x180407920")]
private bool IsBypassedManual(Uri host)
{
return default(bool);
}
/// <summary>Initializes an instance of the <see cref="T:System.Net.WebProxy" /> class using previously serialized content.</summary>
/// <param name="serializationInfo">The serialization data.</param>
/// <param name="streamingContext">The context for the serialized data.</param>
// Token: 0x06000FF6 RID: 4086 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FF6")]
[Address(RVA = "0x4085E0", Offset = "0x4073E0", VA = "0x1804085E0")]
protected WebProxy(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Creates the serialization data and context that are used by the system to serialize a <see cref="T:System.Net.WebProxy" /> object.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object to populate with data.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure that indicates the destination for this serialization.</param>
// Token: 0x06000FF7 RID: 4087 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FF7")]
[Address(RVA = "0x408310", Offset = "0x407110", VA = "0x180408310", Slot = "7")]
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: 0x06000FF8 RID: 4088 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FF8")]
[Address(RVA = "0x4073F0", Offset = "0x4061F0", VA = "0x1804073F0", Slot = "8")]
protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
// Token: 0x1700030F RID: 783
// (get) Token: 0x06000FF9 RID: 4089 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700030F")]
internal AutoWebProxyScriptEngine ScriptEngine
{
[Token(Token = "0x6000FF9")]
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
get
{
return null;
}
}
// Token: 0x06000FFA RID: 4090 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FFA")]
[Address(RVA = "0x4073A0", Offset = "0x4061A0", VA = "0x1804073A0")]
public static IWebProxy CreateDefaultProxy()
{
return null;
}
// Token: 0x06000FFB RID: 4091 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FFB")]
[Address(RVA = "0x4085B0", Offset = "0x4073B0", VA = "0x1804085B0")]
internal WebProxy(bool enableAutoproxy)
{
}
// Token: 0x06000FFC RID: 4092 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FFC")]
[Address(RVA = "0x3F61A0", Offset = "0x3F4FA0", VA = "0x1803F61A0")]
internal void UnsafeUpdateFromRegistry()
{
}
// Token: 0x06000FFD RID: 4093 RVA: 0x00007A70 File Offset: 0x00005C70
[Token(Token = "0x6000FFD")]
[Address(RVA = "0x407510", Offset = "0x406310", VA = "0x180407510")]
private bool GetProxyAuto(Uri destination, out Uri proxyUri)
{
return default(bool);
}
// Token: 0x06000FFE RID: 4094 RVA: 0x00007A88 File Offset: 0x00005C88
[Token(Token = "0x6000FFE")]
[Address(RVA = "0x407850", Offset = "0x406650", VA = "0x180407850")]
private bool IsBypassedAuto(Uri destination, out bool isBypassed)
{
return default(bool);
}
// Token: 0x06000FFF RID: 4095 RVA: 0x00007AA0 File Offset: 0x00005CA0
[Token(Token = "0x6000FFF")]
[Address(RVA = "0x4071B0", Offset = "0x405FB0", VA = "0x1804071B0")]
private static bool AreAllBypassed(IEnumerable<string> proxies, bool checkFirstOnly)
{
return default(bool);
}
// Token: 0x06001000 RID: 4096 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001000")]
[Address(RVA = "0x408290", Offset = "0x407090", VA = "0x180408290")]
private static Uri ProxyUri(string proxyName)
{
return null;
}
// Token: 0x04000961 RID: 2401
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000961")]
private bool _UseRegistry;
// Token: 0x04000962 RID: 2402
[FieldOffset(Offset = "0x11")]
[Token(Token = "0x4000962")]
private bool _BypassOnLocal;
// Token: 0x04000963 RID: 2403
[FieldOffset(Offset = "0x12")]
[Token(Token = "0x4000963")]
private bool m_EnableAutoproxy;
// Token: 0x04000964 RID: 2404
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000964")]
private Uri _ProxyAddress;
// Token: 0x04000965 RID: 2405
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000965")]
private ArrayList _BypassList;
// Token: 0x04000966 RID: 2406
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000966")]
private ICredentials _Credentials;
// Token: 0x04000967 RID: 2407
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000967")]
private Regex[] _RegExBypassList;
// Token: 0x04000968 RID: 2408
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000968")]
private Hashtable _ProxyHostAddresses;
// Token: 0x04000969 RID: 2409
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000969")]
private AutoWebProxyScriptEngine m_ScriptEngine;
}
}