Skip to main content

StatusSystem

Namespace: Busy.Bar

General system status information.

public sealed record class StatusSystem : System.IEquatable`1[[Busy.Bar.StatusSystem, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → StatusSystem
Implements IEquatable<StatusSystem>
Attributes NullableContextAttribute, NullableAttribute

Properties

ApiSemver

API version, in SemVer format.

public string ApiSemver { get; init; }

Property Value

String

Uptime

Formatted system uptime.

public string Uptime { get; init; }

Property Value

String

BootTime

Unix timestamp at which the system last booted.

public long BootTime { get; init; }

Property Value

Int64

AutoUpdateEnabled

Whether automatic firmware updates are enabled.

public bool AutoUpdateEnabled { get; init; }

Property Value

Boolean

Constructors

StatusSystem(String, String, Int64, Boolean)

General system status information.

public StatusSystem(string ApiSemver, string Uptime, long BootTime, bool AutoUpdateEnabled)

Parameters

ApiSemver String
API version, in SemVer format.

Uptime String
Formatted system uptime.

BootTime Int64
Unix timestamp at which the system last booted.

AutoUpdateEnabled Boolean
Whether automatic firmware updates are enabled.