Share via


Uptime Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Shared ReadOnly Property Uptime As TimeSpan
public static TimeSpan Uptime { get; }
public:
static property TimeSpan Uptime {
    TimeSpan get ();
}
static member Uptime : TimeSpan with get
static function get Uptime () : TimeSpan

Property Value

Type: System. . :: . .TimeSpan
The time span for which the system has been up and running.

.NET Framework Security

See Also

Reference

PowerState Class

Microsoft.SPOT.Hardware Namespace