<PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" />

System.Net.WebProxy

public class WebProxy : IWebProxy, ISerializable
namespace System.Net { public class WebProxy : IWebProxy, ISerializable { public Uri Address { get; set; } public ArrayList BypassArrayList { get; } public string[] BypassList { get; set; } public bool BypassProxyOnLocal { get; set; } public ICredentials Credentials { get; set; } public bool UseDefaultCredentials { get; set; } public WebProxy(); protected WebProxy(SerializationInfo serializationInfo, StreamingContext streamingContext); public WebProxy(string Address); public WebProxy(string Address, bool BypassOnLocal); public WebProxy(string Address, bool BypassOnLocal, string[] BypassList); public WebProxy(string Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials); public WebProxy(string Host, int Port); public WebProxy(Uri Address); public WebProxy(Uri Address, bool BypassOnLocal); public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList); public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials); public static WebProxy GetDefaultProxy(); protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); public Uri GetProxy(Uri destination); public bool IsBypassed(Uri host); } }