Utility.GetMachineTime Method

Gets the machine time (system time).

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

Syntax

[MethodImplAttribute]
public static TimeSpan GetMachineTime ()

Return Value

The system time.

Remarks

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

Version Information

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

See Also

Reference

Utility Class
Utility Members
Microsoft.SPOT.Hardware Namespace