Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

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: 0x02000224 RID: 548
[Token(Token = "0x2000224")]
[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: 0x17000291 RID: 657
// (get) Token: 0x06000DE7 RID: 3559 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000291")]
public static IWebProxy Select
{
[Token(Token = "0x6000DE7")]
[Address(RVA = "0x270D6B0", Offset = "0x270C4B0", VA = "0x18270D6B0")]
get
{
return null;
}
}
/// <summary>Returns an empty proxy instance.</summary>
/// <returns>An <see cref="T:System.Net.IWebProxy" /> that contains no information.</returns>
// Token: 0x06000DE8 RID: 3560 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000DE8")]
[Address(RVA = "0x270D660", Offset = "0x270C460", VA = "0x18270D660")]
public static IWebProxy GetEmptyWebProxy()
{
return null;
}
}
}