using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using Cpp2IlInjected;
namespace System.Net
{
/// Contains HTTP proxy settings for the class.
// Token: 0x02000272 RID: 626
[Token(Token = "0x2000272")]
[Serializable]
public class WebProxy : IWebProxy, ISerializable
{
/// Initializes an empty instance of the class.
// Token: 0x06000FD4 RID: 4052 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FD4")]
[Address(RVA = "0x779F80", Offset = "0x778F80", VA = "0x180779F80")]
public WebProxy()
{
}
/// Initializes a new instance of the class with the specified instance, bypass setting, list of URIs to bypass, and credentials.
/// A instance that contains the address of the proxy server.
///
/// to bypass the proxy for local addresses; otherwise, .
/// An array of regular expression strings that contains the URIs of the servers to bypass.
/// An instance to submit to the proxy server for authentication.
// Token: 0x06000FD5 RID: 4053 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FD5")]
[Address(RVA = "0x779C40", Offset = "0x778C40", VA = "0x180779C40")]
public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials)
{
}
/// Gets or sets the credentials to submit to the proxy server for authentication.
/// An instance that contains the credentials to submit to the proxy server for authentication.
/// You attempted to set this property when the property was set to .
// Token: 0x17000309 RID: 777
// (get) Token: 0x06000FD6 RID: 4054 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000309")]
public ICredentials Credentials
{
[Token(Token = "0x6000FD6")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "6")]
get
{
return null;
}
}
/// Gets or sets a value that controls whether the are sent with requests.
///
/// if the default credentials are used; otherwise, . The default value is .
/// You attempted to set this property when the property contains credentials other than the default credentials.
// Token: 0x1700030A RID: 778
// (get) Token: 0x06000FD7 RID: 4055 RVA: 0x000079C8 File Offset: 0x00005BC8
// (set) Token: 0x06000FD8 RID: 4056 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700030A")]
public bool UseDefaultCredentials
{
[Token(Token = "0x6000FD7")]
[Address(RVA = "0x779FD0", Offset = "0x778FD0", VA = "0x180779FD0")]
get
{
return default(bool);
}
[Token(Token = "0x6000FD8")]
[Address(RVA = "0x77A050", Offset = "0x779050", VA = "0x18077A050")]
set
{
}
}
/// Returns the proxied URI for a request.
/// The instance of the requested Internet resource.
/// The instance of the Internet resource, if the resource is on the bypass list; otherwise, the instance of the proxy.
/// The parameter is .
// Token: 0x06000FD9 RID: 4057 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FD9")]
[Address(RVA = "0x778E00", Offset = "0x777E00", VA = "0x180778E00", Slot = "4")]
public Uri GetProxy(Uri destination)
{
return null;
}
// Token: 0x06000FDA RID: 4058 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FDA")]
[Address(RVA = "0x779A80", Offset = "0x778A80", VA = "0x180779A80")]
private void UpdateRegExList(bool canThrow)
{
}
// Token: 0x06000FDB RID: 4059 RVA: 0x000079E0 File Offset: 0x00005BE0
[Token(Token = "0x6000FDB")]
[Address(RVA = "0x779850", Offset = "0x778850", VA = "0x180779850")]
private bool IsMatchInBypassList(Uri input)
{
return default(bool);
}
// Token: 0x06000FDC RID: 4060 RVA: 0x000079F8 File Offset: 0x00005BF8
[Token(Token = "0x6000FDC")]
[Address(RVA = "0x7796D0", Offset = "0x7786D0", VA = "0x1807796D0")]
private bool IsLocal(Uri host)
{
return default(bool);
}
// Token: 0x06000FDD RID: 4061 RVA: 0x00007A10 File Offset: 0x00005C10
[Token(Token = "0x6000FDD")]
[Address(RVA = "0x7795C0", Offset = "0x7785C0", VA = "0x1807795C0")]
private bool IsLocalInProxyHash(Uri host)
{
return default(bool);
}
/// Indicates whether to use the proxy server for the specified host.
/// The instance of the host to check for proxy use.
///
/// if the proxy server should not be used for ; otherwise, .
/// The parameter is .
// Token: 0x06000FDE RID: 4062 RVA: 0x00007A28 File Offset: 0x00005C28
[Token(Token = "0x6000FDE")]
[Address(RVA = "0x779480", Offset = "0x778480", VA = "0x180779480", Slot = "5")]
public bool IsBypassed(Uri host)
{
return default(bool);
}
// Token: 0x06000FDF RID: 4063 RVA: 0x00007A40 File Offset: 0x00005C40
[Token(Token = "0x6000FDF")]
[Address(RVA = "0x779060", Offset = "0x778060", VA = "0x180779060")]
private bool IsBypassedManual(Uri host)
{
return default(bool);
}
/// Initializes an instance of the class using previously serialized content.
/// The serialization data.
/// The context for the serialized data.
// Token: 0x06000FE0 RID: 4064 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FE0")]
[Address(RVA = "0x779D20", Offset = "0x778D20", VA = "0x180779D20")]
protected WebProxy(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Creates the serialization data and context that are used by the system to serialize a object.
/// The object to populate with data.
/// A structure that indicates the destination for this serialization.
// Token: 0x06000FE1 RID: 4065 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FE1")]
[Address(RVA = "0x779A50", Offset = "0x778A50", VA = "0x180779A50", Slot = "7")]
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// 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: 0x06000FE2 RID: 4066 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FE2")]
[Address(RVA = "0x778B30", Offset = "0x777B30", VA = "0x180778B30", Slot = "8")]
protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
// Token: 0x1700030B RID: 779
// (get) Token: 0x06000FE3 RID: 4067 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700030B")]
internal AutoWebProxyScriptEngine ScriptEngine
{
[Token(Token = "0x6000FE3")]
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
get
{
return null;
}
}
// Token: 0x06000FE4 RID: 4068 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FE4")]
[Address(RVA = "0x778AE0", Offset = "0x777AE0", VA = "0x180778AE0")]
public static IWebProxy CreateDefaultProxy()
{
return null;
}
// Token: 0x06000FE5 RID: 4069 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FE5")]
[Address(RVA = "0x779CF0", Offset = "0x778CF0", VA = "0x180779CF0")]
internal WebProxy(bool enableAutoproxy)
{
}
// Token: 0x06000FE6 RID: 4070 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FE6")]
[Address(RVA = "0x73F650", Offset = "0x73E650", VA = "0x18073F650")]
internal void UnsafeUpdateFromRegistry()
{
}
// Token: 0x06000FE7 RID: 4071 RVA: 0x00007A58 File Offset: 0x00005C58
[Token(Token = "0x6000FE7")]
[Address(RVA = "0x778C50", Offset = "0x777C50", VA = "0x180778C50")]
private bool GetProxyAuto(Uri destination, out Uri proxyUri)
{
return default(bool);
}
// Token: 0x06000FE8 RID: 4072 RVA: 0x00007A70 File Offset: 0x00005C70
[Token(Token = "0x6000FE8")]
[Address(RVA = "0x778F90", Offset = "0x777F90", VA = "0x180778F90")]
private bool IsBypassedAuto(Uri destination, out bool isBypassed)
{
return default(bool);
}
// Token: 0x06000FE9 RID: 4073 RVA: 0x00007A88 File Offset: 0x00005C88
[Token(Token = "0x6000FE9")]
[Address(RVA = "0x7788F0", Offset = "0x7778F0", VA = "0x1807788F0")]
private static bool AreAllBypassed(IEnumerable proxies, bool checkFirstOnly)
{
return default(bool);
}
// Token: 0x06000FEA RID: 4074 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FEA")]
[Address(RVA = "0x7799D0", Offset = "0x7789D0", VA = "0x1807799D0")]
private static Uri ProxyUri(string proxyName)
{
return null;
}
// Token: 0x04000954 RID: 2388
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000954")]
private bool _UseRegistry;
// Token: 0x04000955 RID: 2389
[FieldOffset(Offset = "0x11")]
[Token(Token = "0x4000955")]
private bool _BypassOnLocal;
// Token: 0x04000956 RID: 2390
[FieldOffset(Offset = "0x12")]
[Token(Token = "0x4000956")]
private bool m_EnableAutoproxy;
// Token: 0x04000957 RID: 2391
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000957")]
private Uri _ProxyAddress;
// Token: 0x04000958 RID: 2392
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000958")]
private ArrayList _BypassList;
// Token: 0x04000959 RID: 2393
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000959")]
private ICredentials _Credentials;
// Token: 0x0400095A RID: 2394
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400095A")]
private Regex[] _RegExBypassList;
// Token: 0x0400095B RID: 2395
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400095B")]
private Hashtable _ProxyHostAddresses;
// Token: 0x0400095C RID: 2396
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400095C")]
private AutoWebProxyScriptEngine m_ScriptEngine;
}
}