共用方式為


ComputerInfo.OsUptime Property

Definition

The interval between the time the operating system was last restarted and the current time

public:
 property Nullable<TimeSpan> OsUptime { Nullable<TimeSpan> get(); };
public TimeSpan? OsUptime { get; }
member this.OsUptime : Nullable<TimeSpan>
Public ReadOnly Property OsUptime As Nullable(Of TimeSpan)

Property Value

Applies to