198 lines
7.2 KiB
C#
198 lines
7.2 KiB
C#
using System;
|
|
using System.Configuration;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Configuration
|
|
{
|
|
/// <summary>Identifies the configuration settings for Web proxy server. This class cannot be inherited.</summary>
|
|
// Token: 0x02000396 RID: 918
|
|
[Token(Token = "0x2000396")]
|
|
public sealed class ProxyElement : ConfigurationElement
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Configuration.ProxyElement" /> class.</summary>
|
|
// Token: 0x0600183F RID: 6207 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600183F")]
|
|
[Address(RVA = "0x29E9000", Offset = "0x29E7E00", VA = "0x1829E9000")]
|
|
public ProxyElement()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets an <see cref="T:System.Net.Configuration.ProxyElement.AutoDetectValues" /> value that controls whether the Web proxy is automatically detected.</summary>
|
|
/// <returns>
|
|
/// <see cref="F:System.Net.Configuration.ProxyElement.AutoDetectValues.True" /> if the <see cref="T:System.Net.WebProxy" /> is automatically detected; <see cref="F:System.Net.Configuration.ProxyElement.AutoDetectValues.False" /> if the <see cref="T:System.Net.WebProxy" /> is not automatically detected; or <see cref="F:System.Net.Configuration.ProxyElement.AutoDetectValues.Unspecified" />.</returns>
|
|
// Token: 0x17000536 RID: 1334
|
|
// (get) Token: 0x06001840 RID: 6208 RVA: 0x0000A7A0 File Offset: 0x000089A0
|
|
// (set) Token: 0x06001841 RID: 6209 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000536")]
|
|
public ProxyElement.AutoDetectValues AutoDetect
|
|
{
|
|
[Token(Token = "0x6001840")]
|
|
[Address(RVA = "0x29E9030", Offset = "0x29E7E30", VA = "0x1829E9030")]
|
|
get
|
|
{
|
|
return ProxyElement.AutoDetectValues.False;
|
|
}
|
|
[Token(Token = "0x6001841")]
|
|
[Address(RVA = "0x29E9150", Offset = "0x29E7F50", VA = "0x1829E9150")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether local resources are retrieved by using a Web proxy server.</summary>
|
|
/// <returns>A value that indicates whether local resources are retrieved by using a Web proxy server.</returns>
|
|
// Token: 0x17000537 RID: 1335
|
|
// (get) Token: 0x06001842 RID: 6210 RVA: 0x0000A7B8 File Offset: 0x000089B8
|
|
// (set) Token: 0x06001843 RID: 6211 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000537")]
|
|
public ProxyElement.BypassOnLocalValues BypassOnLocal
|
|
{
|
|
[Token(Token = "0x6001842")]
|
|
[Address(RVA = "0x29E9060", Offset = "0x29E7E60", VA = "0x1829E9060")]
|
|
get
|
|
{
|
|
return ProxyElement.BypassOnLocalValues.False;
|
|
}
|
|
[Token(Token = "0x6001843")]
|
|
[Address(RVA = "0x29E9180", Offset = "0x29E7F80", VA = "0x1829E9180")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000538 RID: 1336
|
|
// (get) Token: 0x06001844 RID: 6212 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000538")]
|
|
protected override ConfigurationPropertyCollection Properties
|
|
{
|
|
[Token(Token = "0x6001844")]
|
|
[Address(RVA = "0x29E9090", Offset = "0x29E7E90", VA = "0x1829E9090", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the URI that identifies the Web proxy server to use.</summary>
|
|
/// <returns>The URI that identifies the Web proxy server to use.</returns>
|
|
// Token: 0x17000539 RID: 1337
|
|
// (get) Token: 0x06001845 RID: 6213 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001846 RID: 6214 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000539")]
|
|
public Uri ProxyAddress
|
|
{
|
|
[Token(Token = "0x6001845")]
|
|
[Address(RVA = "0x29E90C0", Offset = "0x29E7EC0", VA = "0x1829E90C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001846")]
|
|
[Address(RVA = "0x29E91B0", Offset = "0x29E7FB0", VA = "0x1829E91B0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets an <see cref="T:System.Uri" /> value that specifies the location of the automatic proxy detection script.</summary>
|
|
/// <returns>A <see cref="T:System.Uri" /> specifying the location of the automatic proxy detection script.</returns>
|
|
// Token: 0x1700053A RID: 1338
|
|
// (get) Token: 0x06001847 RID: 6215 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001848 RID: 6216 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700053A")]
|
|
public Uri ScriptLocation
|
|
{
|
|
[Token(Token = "0x6001847")]
|
|
[Address(RVA = "0x29E90F0", Offset = "0x29E7EF0", VA = "0x1829E90F0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001848")]
|
|
[Address(RVA = "0x29E91E0", Offset = "0x29E7FE0", VA = "0x1829E91E0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a <see cref="T:System.Boolean" /> value that controls whether the Internet Explorer Web proxy settings are used.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the Internet Explorer LAN settings are used to detect and configure the default <see cref="T:System.Net.WebProxy" /> used for requests; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700053B RID: 1339
|
|
// (get) Token: 0x06001849 RID: 6217 RVA: 0x0000A7D0 File Offset: 0x000089D0
|
|
// (set) Token: 0x0600184A RID: 6218 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700053B")]
|
|
public ProxyElement.UseSystemDefaultValues UseSystemDefault
|
|
{
|
|
[Token(Token = "0x6001849")]
|
|
[Address(RVA = "0x29E9120", Offset = "0x29E7F20", VA = "0x1829E9120")]
|
|
get
|
|
{
|
|
return ProxyElement.UseSystemDefaultValues.False;
|
|
}
|
|
[Token(Token = "0x600184A")]
|
|
[Address(RVA = "0x29E9210", Offset = "0x29E8010", VA = "0x1829E9210")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Specifies whether the proxy is automatically detected.</summary>
|
|
// Token: 0x02000397 RID: 919
|
|
[Token(Token = "0x2000397")]
|
|
public enum AutoDetectValues
|
|
{
|
|
/// <summary>The proxy is not automatically detected.</summary>
|
|
// Token: 0x04000EE9 RID: 3817
|
|
[Token(Token = "0x4000EE9")]
|
|
False,
|
|
/// <summary>The proxy is automatically detected.</summary>
|
|
// Token: 0x04000EEA RID: 3818
|
|
[Token(Token = "0x4000EEA")]
|
|
True,
|
|
/// <summary>Unspecified.</summary>
|
|
// Token: 0x04000EEB RID: 3819
|
|
[Token(Token = "0x4000EEB")]
|
|
Unspecified = -1
|
|
}
|
|
|
|
/// <summary>Specifies whether the proxy is bypassed for local resources.</summary>
|
|
// Token: 0x02000398 RID: 920
|
|
[Token(Token = "0x2000398")]
|
|
public enum BypassOnLocalValues
|
|
{
|
|
/// <summary>All requests for local resources should go through the proxy</summary>
|
|
// Token: 0x04000EED RID: 3821
|
|
[Token(Token = "0x4000EED")]
|
|
False,
|
|
/// <summary>Access local resources directly.</summary>
|
|
// Token: 0x04000EEE RID: 3822
|
|
[Token(Token = "0x4000EEE")]
|
|
True,
|
|
/// <summary>Unspecified.</summary>
|
|
// Token: 0x04000EEF RID: 3823
|
|
[Token(Token = "0x4000EEF")]
|
|
Unspecified = -1
|
|
}
|
|
|
|
/// <summary>Specifies whether to use the local system proxy settings to determine whether the proxy is bypassed for local resources.</summary>
|
|
// Token: 0x02000399 RID: 921
|
|
[Token(Token = "0x2000399")]
|
|
public enum UseSystemDefaultValues
|
|
{
|
|
/// <summary>Do not use system default proxy setting values</summary>
|
|
// Token: 0x04000EF1 RID: 3825
|
|
[Token(Token = "0x4000EF1")]
|
|
False,
|
|
/// <summary>Use system default proxy setting values.</summary>
|
|
// Token: 0x04000EF2 RID: 3826
|
|
[Token(Token = "0x4000EF2")]
|
|
True,
|
|
/// <summary>The system default proxy setting is unspecified.</summary>
|
|
// Token: 0x04000EF3 RID: 3827
|
|
[Token(Token = "0x4000EF3")]
|
|
Unspecified = -1
|
|
}
|
|
}
|
|
}
|