Class SystemProxyRegistrationHelper
An helper class to quickly register a system proxy setting
public static class SystemProxyRegistrationHelper
- Inheritance
-
SystemProxyRegistrationHelper
- Inherited Members
Methods
Create(IPEndPoint, params string[])
Register as system proxy from the provided endpoint.
public static Task<IAsyncDisposable> Create(IPEndPoint endPoint, params string[] byPassedHosts)
Parameters
endPoint
IPEndPointEndpoint
byPassedHosts
string[]List of host bypassing the proxy
Returns
- Task<IAsyncDisposable>
An IAsyncDisposable that restore the proxy settings when disposed