Interface
ISAZWriter

Used to implement a class tha creates a SAZ file

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public interface ISAZWriter

Properties

Comment

Sets the session archive metadata (version)

Declaration

cs-api-definition
string Comment { set; }

Property Value

string

EncryptionMethod

Gets the encryption algorithm used - e.g. PKZip, AES

Declaration

cs-api-definition
string EncryptionMethod { get; }

Property Value

string

EncryptionStrength

Gets the encryption algorithm key size - e.g. 128, 256

Declaration

cs-api-definition
string EncryptionStrength { get; }

Property Value

string

Filename

Gets the session archive file name

Declaration

cs-api-definition
string Filename { get; }

Property Value

string

Methods

AddFile(string, SAZWriterDelegate)

Adds a file in the session archive

Declaration

cs-api-definition
void AddFile(string sFilename, SAZWriterDelegate oSWD)

Parameters

sFilename

string

The name of the file with full path

oSWD

SAZWriterDelegate

The method which will be called when to get the file data

CompleteArchive()

Called to flush all data in the session archive and finish writing to the file

Declaration

cs-api-definition
bool CompleteArchive()

Returns

bool

True when the file is closed

SetPassword(string)

Sets a password to be used to encrypt all data files in the session archive

Declaration

cs-api-definition
bool SetPassword(string sPassword)

Parameters

sPassword

string

The password to use

Returns

bool