HarLog Class

Represents the root of the exported data.

public sealed class HarLog

Constructors

NameDescription
HarLog()

HarLog()

HarLog.cs
public HarLog()

No documentation is available.

Properties

NameDescription
BrowserGets or sets information about the browser that created the log.
CommentGets or sets a comment provided by the user or the application.
CreatorGets or sets information about the application that created the log.
EntriesGets or sets the list of exported HTTP requests.
ExtensionDataGets or sets additional vendor-specific fields.
PagesGets or sets the list of exported pages.
VersionGets or sets the version number of the HAR format. Defaults to "1.2".

Browser

HarLog.cs

Gets or sets information about the browser that created the log.

public HarBrowser? Browser { get; set; }

Property value

HarBrowser?

Comment

HarLog.cs

Gets or sets a comment provided by the user or the application.

public string? Comment { get; set; }

Property value

string?

Creator

HarLog.cs

Gets or sets information about the application that created the log.

public HarCreator? Creator { get; set; }

Property value

HarCreator?

Entries

HarLog.cs

Gets or sets the list of exported HTTP requests.

public List<HarEntry>? Entries { get; set; }

Property value

List<HarEntry>?

ExtensionData

HarLog.cs

Gets or sets additional vendor-specific fields.

public Dictionary<string, JsonElement>? ExtensionData { get; set; }

Gets or sets the list of exported pages.

public List<HarPage>? Pages { get; set; }

Property value

List<HarPage>?

Version

HarLog.cs

Gets or sets the version number of the HAR format. Defaults to "1.2".

public string? Version { get; set; }

Property value

string?