ZennoBrowser

static class · namespace z3n7 · source Api/ZB.cs

public static class ZennoBrowser

ZennoBrowser (ZP8) profiles: their ids and running the helper project ZB.zp.

Methods

ZB

public static bool ZB(this IZennoPosterProjectModel project, string toDo)

Extension method for IZennoPosterProjectModel. source

Stores toDo in the toDo variable and runs {project.Path}/.internal/ZB.zp, passing acc0, cfgLog, cfgPin, DBmode, DBpstgrPass, DBpstgrUser, DBsqltPath, instancePort, lastQuery, cookies, varSessionId and toDo by name.

Parameter Description
toDo Command for the helper project.

Returns: The result of ExecuteProject.

ZBids

public static Dictionary<string, string> ZBids(this IZennoPosterProjectModel project)

Extension method for IZennoPosterProjectModel. source

Reads id and name of every ZennoBrowser profile except template from the ProfileInfos table of %LOCALAPPDATA%\ZennoLab\ZP8\.zp8\ProfileManagement.db. The file is read directly; project variables are not touched.

Returns: Profile id → profile name. Throws when the ZennoBrowser database file is missing.