TestimoX

API Reference

Class

DnsLogSummary

Namespace ADPlayground
Assembly ADPlayground

Represents a summary of the DNS log.

Inheritance

  • Object
  • DnsLogSummary

Constructors

public DnsLogSummary() #

Methods

FormatFileSize(System.Int64 bytes) #

Formats the file size in a human-readable string.

Parameters

bytes System.Int64 required
The file size in bytes.

Returns

The formatted file size.

public String GetFormattedFileSize() #
Returns: String

Gets the formatted file size as a string.

Returns

The formatted file size.

public Void Merge(DnsLogSummary other) #
Returns: Void

Merges another summary into this one.

Parameters

other ADPlayground.DnsLogSummary requiredposition: 0
The summary to merge.

Properties

public String FileName { get; } #

Gets or sets the file name.

public FileInfo FileInfo { get; set; } #

Gets or sets the file path.

public Int64 FileSizeBytes { get; } #

Gets or sets the file size in bytes.

public Int64 FileSizeMB { get; } #

Gets the file size in megabytes.

public Nullable<DateTime> EarliestRecord { get; set; } #

Gets or sets the earliest record date and time.

public Nullable<DateTime> LatestRecord { get; set; } #

Gets or sets the latest record date and time.

public Nullable<TimeSpan> TimeSpan { get; set; } #

Gets or sets the time span between the earliest and latest records.