Sends a request for time to the TIME server passed to the constructor and waits for the answer that contains the time value.

Namespace:  Rebex.Net
Assembly:  Rebex.Time (in Rebex.Time.dll)

Syntax

Visual Basic
Public Function GetTime As DateTime
C#
public DateTime GetTime()

Return Value

The server's response.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also