GetMachineTime Method

[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).

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)


Public Shared Function GetMachineTime As TimeSpan
public static TimeSpan GetMachineTime()
static TimeSpan GetMachineTime()
static member GetMachineTime : unit -> TimeSpan 
public static function GetMachineTime() : TimeSpan

Return Value

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

See Also


Utility Class

Microsoft.SPOT.Hardware Namespace