C# Class Platform.EnvironmentUtils

Provides useful methods for the Environment.
Mostra file Open project: platformdotnet/Platform

Public Methods

Method Description
SetSystemTime ( System.DateTime dateTime ) : void

Sets the system time to the provided value.

Private Methods

Method Description
LinuxSetSystemTime ( System.DateTime dateTime ) : void

Sets the system time for Linux systems.

SetLocalTime ( SYSTEMTIME &time ) : bool
SetSystemTime ( SYSTEMTIME &time ) : bool
Win32SetSystemTime ( System.DateTime dateTime ) : void

Sets the system time for Windows systems.

Method Details

SetSystemTime() public static method

Sets the system time to the provided value.
public static SetSystemTime ( System.DateTime dateTime ) : void
dateTime System.DateTime The value to set the system clock to.
return void