API Reference
Class
DnsLogSummary
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
- The file size in bytes.
Returns
The formatted file size.
public String GetFormattedFileSize() #Returns:
StringGets the formatted file size as a string.
Returns
The formatted file size.
public Void Merge(DnsLogSummary other) #Returns:
VoidMerges another summary into this one.
Parameters
- other ADPlayground.DnsLogSummary
- The summary to merge.
Inherited Methods
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.