Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

41 lines
1.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Provides the base interface for implementation of proxy access for the <see cref="T:System.Net.WebRequest" /> class.</summary>
// Token: 0x02000267 RID: 615
[Token(Token = "0x2000267")]
public interface IWebProxy
{
/// <summary>Returns the URI of a proxy.</summary>
/// <param name="destination">A <see cref="T:System.Uri" /> that specifies the requested Internet resource.</param>
/// <returns>A <see cref="T:System.Uri" /> instance that contains the URI of the proxy used to contact <paramref name="destination" />.</returns>
// Token: 0x06000F76 RID: 3958
[Token(Token = "0x6000F76")]
[Address(Slot = "0")]
Uri GetProxy(Uri destination);
/// <summary>Indicates that the proxy should not be used for the specified host.</summary>
/// <param name="host">The <see cref="T:System.Uri" /> of the host to check for proxy use.</param>
/// <returns>
/// <see langword="true" /> if the proxy server should not be used for <paramref name="host" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000F77 RID: 3959
[Token(Token = "0x6000F77")]
[Address(Slot = "1")]
bool IsBypassed(Uri host);
/// <summary>The credentials to submit to the proxy server for authentication.</summary>
/// <returns>An <see cref="T:System.Net.ICredentials" /> instance that contains the credentials that are needed to authenticate a request to the proxy server.</returns>
// Token: 0x170002F8 RID: 760
// (get) Token: 0x06000F78 RID: 3960
[Token(Token = "0x170002F8")]
ICredentials Credentials
{
[Token(Token = "0x6000F78")]
[Address(Slot = "2")]
get;
}
}
}