Table of Contents

Class SystemProxyRegistrationManager

Namespace
Fluxzy.Core
Assembly
Fluxzy.Core.dll

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

Task<SystemProxySetting>

IsRegisteredOn(IEnumerable<IPEndPoint>)

Overload mirroring the selection logic of Register(IEnumerable<IPEndPoint>, ...): prefers the loopback endpoint when multiple are provided.

public Task<bool> IsRegisteredOn(IEnumerable<IPEndPoint> endPoints)

Parameters

endPoints IEnumerable<IPEndPoint>

Returns

Task<bool>

IsRegisteredOn(IPEndPoint)

Returns true only if the OS proxy is currently enabled AND bound to the given endpoint. Unlike GetSystemProxySetting(), this filters out unrelated proxies (corporate, Fiddler, another Fluxzy instance on a different port, ...).

public Task<bool> IsRegisteredOn(IPEndPoint endPoint)

Parameters

endPoint IPEndPoint

Returns

Task<bool>

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 IPEndPoint
byPassHosts string[]

Returns

Task<SystemProxySetting>

UnRegister()

Unregister any previous setting

public Task UnRegister()

Returns

Task