ZennoLab Assemblies Documentation
Save Method
Example 

Type: System.String

A path to file for the profile data. File extension should be .zpprofile, otherwise this extension will be added to the path.

Type: System.Boolean

The true if need to save proxy information; otherwise and default, false.

Type: System.Boolean

The true if need to save plugins information; otherwise and default, false.

Type: System.Boolean

The true if need to save local storage information; otherwise and default, false.

Type: System.Boolean

The true if need to save time zone information; otherwise and default, false.

Type: System.Boolean

The true if need to save geo information; otherwise and default, false.

Type: System.Boolean

The true if need to save HSTS super cookie; otherwise and default, false.

Type: System.Boolean

The true if need to save font list; otherwise and default, false.

Type: System.Boolean

The true if need to save webrtc settings; otherwise and default, false.

Save the profile data to file.
Syntax
void Save( 
   string path,
   bool saveProxy,
   bool savePlugins,
   bool saveLocalStorage,
   bool saveTimezone,
   bool saveGeoposition,
   bool saveSuperCookie,
   bool saveFonts,
   bool saveWebRtc
)

Parameters

path

Type: System.String

A path to file for the profile data. File extension should be .zpprofile, otherwise this extension will be added to the path.

saveProxy

Type: System.Boolean

The true if need to save proxy information; otherwise and default, false.

savePlugins

Type: System.Boolean

The true if need to save plugins information; otherwise and default, false.

saveLocalStorage

Type: System.Boolean

The true if need to save local storage information; otherwise and default, false.

saveTimezone

Type: System.Boolean

The true if need to save time zone information; otherwise and default, false.

saveGeoposition

Type: System.Boolean

The true if need to save geo information; otherwise and default, false.

saveSuperCookie

Type: System.Boolean

The true if need to save HSTS super cookie; otherwise and default, false.

saveFonts

Type: System.Boolean

The true if need to save font list; otherwise and default, false.

saveWebRtc

Type: System.Boolean

The true if need to save webrtc settings; otherwise and default, false.

Remarks
You should remember that all ZennoPoster's structures, actions and methods uses the utf-8 encoding.
Example
The following example uses Save method of profile.
// save profile data to file "C:\profile.txt", but actual path will be "C:\profile.txt.zpprofile", because it needs .zpprofile extension
project.Profile.Save("C:\\profile.txt");
// save profile data to file "C:\profile.txt", but actual path will be "C:\profile.txt.zpprofile", because it needs .zpprofile extension
$project->Profile->Save("C:\\profile.txt");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IProfile Interface
IProfile Members
Load Method

Send Feedback