Share via


PowerState.Uptime Property

Gets the time span for which the system has been up and running, without a reboot.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public static TimeSpan Uptime { get; }

Property Value

The time span for which the system has been up and running.

Version Information

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

See Also

Reference

PowerState Class
PowerState Members
Microsoft.SPOT.Hardware Namespace