Files
Apr2020-Cpp2Il-Dump/System/Net/IWebProxy.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x0200026B RID: 619
[Token(Token = "0x200026B")]
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: 0x06000F8C RID: 3980
[Token(Token = "0x6000F8C")]
[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: 0x06000F8D RID: 3981
[Token(Token = "0x6000F8D")]
[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: 0x170002FC RID: 764
// (get) Token: 0x06000F8E RID: 3982
[Token(Token = "0x170002FC")]
ICredentials Credentials
{
[Token(Token = "0x6000F8E")]
[Address(Slot = "2")]
get;
}
}
}