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)

Syntax

'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

Return Value

Type: System. . :: . .TimeSpan
The system time.

Remarks

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

.NET Framework Security

See Also

Reference

Utility Class

Microsoft.SPOT.Hardware Namespace