40 lines
1.4 KiB
C#
40 lines
1.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Contains a global default proxy instance for all HTTP requests.</summary>
|
|
// Token: 0x02000220 RID: 544
|
|
[Token(Token = "0x2000220")]
|
|
[Obsolete]
|
|
public class GlobalProxySelection
|
|
{
|
|
/// <summary>Gets or sets the global HTTP proxy.</summary>
|
|
/// <returns>An <see cref="T:System.Net.IWebProxy" /> that every call to <see cref="M:System.Net.HttpWebRequest.GetResponse" /> uses.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The value specified for a set operation was <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.Security.SecurityException">The caller does not have permission for the requested operation.</exception>
|
|
// Token: 0x1700028D RID: 653
|
|
// (get) Token: 0x06000DD1 RID: 3537 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700028D")]
|
|
public static IWebProxy Select
|
|
{
|
|
[Token(Token = "0x6000DD1")]
|
|
[Address(RVA = "0xB32D80", Offset = "0xB31D80", VA = "0x180B32D80")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns an empty proxy instance.</summary>
|
|
/// <returns>An <see cref="T:System.Net.IWebProxy" /> that contains no information.</returns>
|
|
// Token: 0x06000DD2 RID: 3538 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000DD2")]
|
|
[Address(RVA = "0xB32D30", Offset = "0xB31D30", VA = "0x180B32D30")]
|
|
public static IWebProxy GetEmptyWebProxy()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|