Class SystemProxyRegistrationManager
System proxy management is static because related to OS management.
public class SystemProxyRegistrationManager
- Inheritance
-
SystemProxyRegistrationManager
- Inherited Members
Constructors
SystemProxyRegistrationManager(ISystemProxySetter)
public SystemProxyRegistrationManager(ISystemProxySetter systemProxySetter)
Parameters
systemProxySetter
ISystemProxySetter
Methods
GetSystemProxySetting()
Retrieve the current system proxy setting
public Task<SystemProxySetting> GetSystemProxySetting()
Returns
Register(IPEndPoint, params string[])
Register the system proxy with the given endPoint and bypass hosts
public Task<SystemProxySetting> Register(IPEndPoint endPoint, params string[] byPassHosts)
Parameters
endPoint
IPEndPointbyPassHosts
string[]
Returns
UnRegister()
Unregister any previous setting
public Task UnRegister()