Network Time Protocol Class Methods  
 
Class Description
CNetworkTime Constructor which initializes the current instance of the class.
~CNetworkTime Destructor which releases resources allocated by the class.
Method Description
ConvertTime Convert between network and system time values.
DisableTrace Disable logging of network function calls.
EnableTrace Enable logging of network function calls to a file.
FormatTime Return the specified network time as a string formatted for the current locale.
GetErrorString Return a description for the specified error code.
GetLastError Return the last error code.
GetTime Return the current network time from the server.
IsInitialized Determine if the class has been successfully initialized.
SetLastError Set the last error code.
SetTime Set the local system time with the network time.
ShowError Displays a message box which describes the specified error.