SetUtcTime Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the UTC time of the system.
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)
Syntax
'Declaration
Public Shared Sub SetUtcTime ( _
utcTimeInTicks As Long _
)
public static void SetUtcTime(
long utcTimeInTicks
)
public:
static void SetUtcTime(
long long utcTimeInTicks
)
static member SetUtcTime :
utcTimeInTicks:int64 -> unit
public static function SetUtcTime(
utcTimeInTicks : long
)
Parameters
- utcTimeInTicks
Type: System. . :: . .Int64
The UTC time, in ticks.
Remarks
The change is reflected immediately.
.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.