ComputerInfo.OsUptime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)