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: 0x02000392 RID: 914
|
|
[Token(Token = "0x2000392")]
|
|
public sealed class ProxyElement : ConfigurationElement
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Configuration.ProxyElement" /> class.</summary>
|
|
// Token: 0x06001828 RID: 6184 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001828")]
|
|
[Address(RVA = "0xDD6720", Offset = "0xDD5720", VA = "0x180DD6720")]
|
|
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: 0x17000532 RID: 1330
|
|
// (get) Token: 0x06001829 RID: 6185 RVA: 0x0000A788 File Offset: 0x00008988
|
|
// (set) Token: 0x0600182A RID: 6186 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000532")]
|
|
public ProxyElement.AutoDetectValues AutoDetect
|
|
{
|
|
[Token(Token = "0x6001829")]
|
|
[Address(RVA = "0xDD6750", Offset = "0xDD5750", VA = "0x180DD6750")]
|
|
get
|
|
{
|
|
return ProxyElement.AutoDetectValues.False;
|
|
}
|
|
[Token(Token = "0x600182A")]
|
|
[Address(RVA = "0xDD6870", Offset = "0xDD5870", VA = "0x180DD6870")]
|
|
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: 0x17000533 RID: 1331
|
|
// (get) Token: 0x0600182B RID: 6187 RVA: 0x0000A7A0 File Offset: 0x000089A0
|
|
// (set) Token: 0x0600182C RID: 6188 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000533")]
|
|
public ProxyElement.BypassOnLocalValues BypassOnLocal
|
|
{
|
|
[Token(Token = "0x600182B")]
|
|
[Address(RVA = "0xDD6780", Offset = "0xDD5780", VA = "0x180DD6780")]
|
|
get
|
|
{
|
|
return ProxyElement.BypassOnLocalValues.False;
|
|
}
|
|
[Token(Token = "0x600182C")]
|
|
[Address(RVA = "0xDD68A0", Offset = "0xDD58A0", VA = "0x180DD68A0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000534 RID: 1332
|
|
// (get) Token: 0x0600182D RID: 6189 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000534")]
|
|
protected override ConfigurationPropertyCollection Properties
|
|
{
|
|
[Token(Token = "0x600182D")]
|
|
[Address(RVA = "0xDD67B0", Offset = "0xDD57B0", VA = "0x180DD67B0", 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: 0x17000535 RID: 1333
|
|
// (get) Token: 0x0600182E RID: 6190 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x0600182F RID: 6191 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000535")]
|
|
public Uri ProxyAddress
|
|
{
|
|
[Token(Token = "0x600182E")]
|
|
[Address(RVA = "0xDD67E0", Offset = "0xDD57E0", VA = "0x180DD67E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x600182F")]
|
|
[Address(RVA = "0xDD68D0", Offset = "0xDD58D0", VA = "0x180DD68D0")]
|
|
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: 0x17000536 RID: 1334
|
|
// (get) Token: 0x06001830 RID: 6192 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001831 RID: 6193 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000536")]
|
|
public Uri ScriptLocation
|
|
{
|
|
[Token(Token = "0x6001830")]
|
|
[Address(RVA = "0xDD6810", Offset = "0xDD5810", VA = "0x180DD6810")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001831")]
|
|
[Address(RVA = "0xDD6900", Offset = "0xDD5900", VA = "0x180DD6900")]
|
|
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: 0x17000537 RID: 1335
|
|
// (get) Token: 0x06001832 RID: 6194 RVA: 0x0000A7B8 File Offset: 0x000089B8
|
|
// (set) Token: 0x06001833 RID: 6195 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000537")]
|
|
public ProxyElement.UseSystemDefaultValues UseSystemDefault
|
|
{
|
|
[Token(Token = "0x6001832")]
|
|
[Address(RVA = "0xDD6840", Offset = "0xDD5840", VA = "0x180DD6840")]
|
|
get
|
|
{
|
|
return ProxyElement.UseSystemDefaultValues.False;
|
|
}
|
|
[Token(Token = "0x6001833")]
|
|
[Address(RVA = "0xDD6930", Offset = "0xDD5930", VA = "0x180DD6930")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Specifies whether the proxy is automatically detected.</summary>
|
|
// Token: 0x02000393 RID: 915
|
|
[Token(Token = "0x2000393")]
|
|
public enum AutoDetectValues
|
|
{
|
|
/// <summary>The proxy is not automatically detected.</summary>
|
|
// Token: 0x04000EDC RID: 3804
|
|
[Token(Token = "0x4000EDC")]
|
|
False,
|
|
/// <summary>The proxy is automatically detected.</summary>
|
|
// Token: 0x04000EDD RID: 3805
|
|
[Token(Token = "0x4000EDD")]
|
|
True,
|
|
/// <summary>Unspecified.</summary>
|
|
// Token: 0x04000EDE RID: 3806
|
|
[Token(Token = "0x4000EDE")]
|
|
Unspecified = -1
|
|
}
|
|
|
|
/// <summary>Specifies whether the proxy is bypassed for local resources.</summary>
|
|
// Token: 0x02000394 RID: 916
|
|
[Token(Token = "0x2000394")]
|
|
public enum BypassOnLocalValues
|
|
{
|
|
/// <summary>All requests for local resources should go through the proxy</summary>
|
|
// Token: 0x04000EE0 RID: 3808
|
|
[Token(Token = "0x4000EE0")]
|
|
False,
|
|
/// <summary>Access local resources directly.</summary>
|
|
// Token: 0x04000EE1 RID: 3809
|
|
[Token(Token = "0x4000EE1")]
|
|
True,
|
|
/// <summary>Unspecified.</summary>
|
|
// Token: 0x04000EE2 RID: 3810
|
|
[Token(Token = "0x4000EE2")]
|
|
Unspecified = -1
|
|
}
|
|
|
|
/// <summary>Specifies whether to use the local system proxy settings to determine whether the proxy is bypassed for local resources.</summary>
|
|
// Token: 0x02000395 RID: 917
|
|
[Token(Token = "0x2000395")]
|
|
public enum UseSystemDefaultValues
|
|
{
|
|
/// <summary>Do not use system default proxy setting values</summary>
|
|
// Token: 0x04000EE4 RID: 3812
|
|
[Token(Token = "0x4000EE4")]
|
|
False,
|
|
/// <summary>Use system default proxy setting values.</summary>
|
|
// Token: 0x04000EE5 RID: 3813
|
|
[Token(Token = "0x4000EE5")]
|
|
True,
|
|
/// <summary>The system default proxy setting is unspecified.</summary>
|
|
// Token: 0x04000EE6 RID: 3814
|
|
[Token(Token = "0x4000EE6")]
|
|
Unspecified = -1
|
|
}
|
|
}
|
|
}
|