Click or drag to resize
FiddlerApplication Class
This class acts as the central point for script/extensions to interact with Fiddler components.
Inheritance Hierarchy
SystemObject
  FiddlerFiddlerApplication

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static class FiddlerApplication

The FiddlerApplication type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateProxyEndpoint(Int32, Boolean, X509Certificate2)
Start a new proxy endpoint instance, listening on the specified port
Public methodStatic memberCreateProxyEndpoint(Int32, Boolean, String)
Start a new proxy endpoint instance, listening on the specified port
Public methodStatic memberDoExport
Export Sessions in the specified format
Public methodStatic memberDoImport
Calls a Fiddler Session Importer and returns the list of loaded Sessions.
Public methodStatic memberDoNotifyUser(Exception, String)
Public methodStatic memberDoNotifyUser(String, String)
Public methodStatic memberDoNotifyUser(String, String, MessageBoxIcon)
Public methodStatic memberDoNotifyUser(IWin32Window, String, String, MessageBoxIcon)
Log a notification to the OnNotification handler and, if not in quiet mode, show a MessageBox
Public methodStatic memberGetDetailedInfo
Returns Help/About information.
Public methodStatic memberGetVersionString
Gets Fiddler* version info
Public methodStatic memberIsStarted
Checks if FiddlerCore is running.
Public methodStatic memberIsSystemProxy
Checks if FiddlerCore is running and registered as the System Proxy.
Public methodStatic memberLogLeakedFile
Record that a temporary file was created and handed to an external tool. We'll do our best to delete this file on exit.
Public methodStatic memberReportException(Exception, String)
Report an exception to the user.
Public methodStatic memberReportException(Exception, String, String)
Report an exception to the user.
Public methodStatic memberResetSessionCounter
Reset the SessionID counter to 0. This method can lead to confusing UI, so call sparingly.
Public methodStatic memberSetAppDisplayName
Set the DisplayName for the application
Public methodStatic memberShutdown
Shuts down the FiddlerCore proxy and disposes it. Note: If there's any traffic in progress while you're calling this method, your background threads are likely to blow up with ObjectDisposedExceptions or NullReferenceExceptions. In many cases, you're better off simply calling oProxy.Detach() and letting the garbage collector clean up when your program exits.
Public methodStatic memberStartup(Int32, FiddlerCoreStartupFlags)
Recommended way to Start FiddlerCore listening on the specified port
Public methodStatic memberStartup(Int32, Boolean, Boolean)
Start the FiddlerCore engine; this overload is NOT RECOMMENDED
Public methodStatic memberStartup(Int32, Boolean, Boolean, Boolean)
Start the FiddlerCore engine; this overload is NOT RECOMMENDED
Public methodStatic memberSupports
Does this Fiddler instance support the specified feature?
Top
Fields
  NameDescription
Public fieldStatic memberClientCertificateProvider
Public fieldStatic memberisClosing
TRUE if Fiddler is currently shutting down. Suspend all work that won't have side-effects.
Public fieldStatic memberoDefaultClientCertificate
The default certificate used for client authentication
Public fieldStatic memberoProxy
Fiddler's core proxy object.
Public fieldStatic memberoTranscoders
Fiddler Import/Export Transcoders
Top
Properties
  NameDescription
Public propertyStatic memberLog
Fiddler's logging system
Public propertyStatic memberoSAZProvider
Public propertyStatic memberPrefs
Fiddler's Preferences collection. Learn more at http://fiddler.wikidot.com/prefs
Top
Events
  NameDescription
Public eventStatic memberAfterSessionComplete
This event fires when a session has been completed
Public eventStatic memberAfterSocketAccept
Fired each time Fiddler successfully accepts a TCP/IP connection
Public eventStatic memberAfterSocketConnect
Fired each time Fiddler successfully establishes a TCP/IP connection
Public eventStatic memberBeforeRequest
This event fires when a client request is received by Fiddler
Public eventStatic memberBeforeResponse
This event fires when a server response is received by Fiddler
Public eventStatic memberBeforeReturningError
This event fires when an error response is generated by Fiddler
Public eventStatic memberFiddlerAttach
Sync this event to be notified when FiddlerCore has attached as the system proxy.")]
Public eventStatic memberFiddlerDetach
Sync this event to be notified when FiddlerCore has detached as the system proxy.
Public eventStatic memberOnClearCache
Public eventStatic memberOnNotification
Public eventStatic memberOnReadRequestBuffer
This event fires each time FiddlerCore reads data from network for the client's request. Note that this data is not formatted in any way, and must be parsed by the recipient.
Public eventStatic memberOnReadResponseBuffer
This event fires each time FiddlerCore reads data from network for the server's response. Note that this data is not formatted in any way, and must be parsed by the recipient.
Public eventStatic memberOnValidateServerCertificate
Public eventStatic memberOnWebSocketMessage
This event fires when Fiddler captures a WebSocket message
Public eventStatic memberRequestHeadersAvailable
This event fires when Request Headers are available
Public eventStatic memberResponseHeadersAvailable
This event fires when Response Headers are available
Top
See Also