FiddlerApplicationDoImport Method |
Calls a Fiddler Session Importer and returns the list of loaded Sessions.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static Session[] DoImport(
string sImportFormat,
bool bAddToSessionList,
Dictionary<string, Object> dictOptions,
EventHandler<ProgressCallbackEventArgs> ehPCEA
)
Public Shared Function DoImport (
sImportFormat As String,
bAddToSessionList As Boolean,
dictOptions As Dictionary(Of String, Object),
ehPCEA As EventHandler(Of ProgressCallbackEventArgs)
) As Session()
public:
static array<Session^>^ DoImport(
String^ sImportFormat,
bool bAddToSessionList,
Dictionary<String^, Object^>^ dictOptions,
EventHandler<ProgressCallbackEventArgs^>^ ehPCEA
)
Parameters
- sImportFormat
- Type: SystemString
String naming the Import format, e.g. HTTPArchive - bAddToSessionList
- Type: SystemBoolean
Should sessions be added to WebSessions list? (Not meaningful for FiddlerCore) - dictOptions
- Type: System.Collections.GenericDictionaryString, Object
Dictionary of Options to pass to the Transcoder - ehPCEA
- Type: SystemEventHandlerProgressCallbackEventArgs
Your callback event handler, or NULL to allow Fiddler to handle
Return Value
Type:
SessionLoaded Session[], or null on Failure
See Also