SocketTools .NET Edition

NetworkTime.GetTime Method

Get the current system date and time from a default time server.

Overload List

Get the current system date and time from a default time server.

public bool GetTime(ref DateTime);

Get the current system date and time from the time server.

public bool GetTime(ref long);

Get the current system date and time from the specified time server.

public bool GetTime(string,ref DateTime);

Get the current system date and time from the specified time server.

public bool GetTime(string,int,ref DateTime);

Get the current system date and time from the specified time server.

public bool GetTime(string,int,int,ref DateTime);

Get the current system date and time from the specified time server.

public bool GetTime(string,int,int,ref long);

Get the current system date and time from the specified time server.

public bool GetTime(string,int,ref long);

Get the current system date and time from the specified time server.

public bool GetTime(string,ref long);

See Also

NetworkTime Class | SocketTools Namespace