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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.