[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the machine time (system time).
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
'Declaration Public Shared Function GetMachineTime As TimeSpan
public static TimeSpan GetMachineTime()
public: static TimeSpan GetMachineTime()
static member GetMachineTime : unit -> TimeSpan
public static function GetMachineTime() : TimeSpan
Type: System. . :: . .TimeSpan
The system time.
The system time is a time span specifying how much time has elapsed since the last reboot.
.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.