Class FiddlerCoreStartupSettingsBuilder<T, P>
A generic builder class for FiddlerCoreStartupSettings.
Inheritance
Inherited Members
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public abstract class FiddlerCoreStartupSettingsBuilder<T, P> : IFiddlerCoreStartupSettingsBuilder<T, P> where T : FiddlerCoreStartupSettingsBuilder<T, P> where P : FiddlerCoreStartupSettings
Type Parameters
T |
P |
Fields
fiddlerCoreStartupSettings
The FiddlerCoreStartupSettings instance being built.
Declaration
protected P fiddlerCoreStartupSettings
Field Value
P
|
t
Reference to this. Return this field instead of (T)this in your methods in order to avoid multiple casting.
Declaration
protected readonly T t
Field Value
T
|
Methods
AllowRemoteClients()
Accepts requests from remote computers or devices. WARNING: Security Impact
Declaration
public virtual T AllowRemoteClients()
Returns
T |
Implements
Remarks
Use caution when allowing Remote Clients to connect. If a hostile computer is able to proxy its traffic through your FiddlerCore instance, he could circumvent IPSec traffic rules, circumvent intranet firewalls, consume memory on your PC, etc.
Build()
Builds the FiddlerCoreStartupSettings instance.
Declaration
public P Build()
Returns
P
The instance of FiddlerCoreStartupSettings. |
Implements
CaptureFTP()
Registers FiddlerCore as the FTP proxy.
Declaration
public virtual T CaptureFTP()
Returns
T |
Implements
CaptureLocalhostTraffic()
Passes the <-loopback> token to the proxy exception list.
Declaration
public virtual T CaptureLocalhostTraffic()
Returns
T |
Implements
ChainToUpstreamGateway()
Forwards requests to any upstream gateway.
Declaration
public virtual T ChainToUpstreamGateway()
Returns
T |
Implements
DecryptSSL()
Decrypts HTTPS Traffic.
Declaration
public virtual T DecryptSSL()
Returns
T |
Implements
HookUsingPACFile()
Sets connections to use a self-generated PAC File.
Declaration
public virtual T HookUsingPACFile()
Returns
T |
Implements
ListenOnPort(UInt16)
The port on which the FiddlerCore app will listen on. If 0, a random port will be used.
Declaration
public virtual T ListenOnPort(ushort port)
Parameters
System.UInt16
port
The port on which the FiddlerCore app should listen on. |
Returns
T |
Implements
MonitorAllConnections()
Sets all connections to use FiddlerCore, otherwise only the Local LAN is pointed to FiddlerCore.
Declaration
public virtual T MonitorAllConnections()
Returns
T |
Implements
OptimizeThreadPool()
Calls ThreadPool.SetMinThreads for improved performance.
Declaration
public virtual T OptimizeThreadPool()
Returns
T |
Implements
RegisterAsSystemProxy()
Registers as the system proxy.
Declaration
public virtual T RegisterAsSystemProxy()
Returns
T |
Implements
SetUpstreamGatewayTo(String)
Sets manual upstream gateway.
Declaration
public virtual T SetUpstreamGatewayTo(string upstreamGateway)
Parameters
System.String
upstreamGateway
The upstream gateway which FiddlerCore will use in the format "address:port | protocol=address:port(;protocol=address:port)*" |
Returns
T |
Implements
SetUpstreamGatewayTo(String, String)
Sets manual upstream gateway with a bypass list.
Declaration
public virtual T SetUpstreamGatewayTo(string upstreamGateway, string bypassList)
Parameters
System.String
upstreamGateway
The upstream gateway which FiddlerCore will use in the format "address:port | protocol=address:port(;protocol=address:port)*" |
System.String
bypassList
List of hosts which should bypass the manually configured upstream gateway. Format: "example.com;*.another-example.com". |
Returns
T |
Implements
SetUpstreamProxySettingsTo(ProxySettings)
Sets the proxy settings which FiddlerCore uses to find the upstream proxy.
Declaration
public virtual T SetUpstreamProxySettingsTo(ProxySettings proxySettings)
Parameters
ProxySettings proxySettings |
Returns
T |