Export (0) Print
Expand All

Utility.GetMachineTime Method

Gets the machine time (system time).

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


[MethodImplAttribute]
public static TimeSpan GetMachineTime ()

Return Value

The system time.

The system time is a time span specifying how much time has elapsed since the last reboot.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

Community Additions

ADD
Show:
© 2015 Microsoft