The Daytime type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Daytime(String) |
Creates an instance of Daytime class and binds it to the specified DAYTIME server.
| |
| Daytime(String, Int32) |
Creates an instance of Daytime class and binds it to the specified DAYTIME server.
|
Methods
| Name | Description | |
|---|---|---|
| BeginGetTime |
Begins asynchronous GetTime operation.
Sends a request for time to the TIME server passed to the constructor
and waits for the answer that contains the time value.
(Inherited from TimeBase.) | |
| BeginSynchronizeSystemClock |
Begins asynchronous SynchronizeSystemClock operation.
Synchronize the local time with the server.
(Inherited from TimeBase.) | |
| EndGetTime |
Ends an asynchronous BeginGetTime operation.
(Inherited from TimeBase.) | |
| EndSynchronizeSystemClock |
Ends an asynchronous BeginSynchronizeSystemClock operation.
(Inherited from TimeBase.) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetTime |
Sends a request for time to the TIME server passed to the constructor
and waits for the answer that contains the time value.
(Inherited from TimeBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse |
Parses the specified DAYTIME result.
| |
| SynchronizeSystemClock()()()() |
Synchronize the local time with the server.
(Inherited from TimeBase.) | |
| SynchronizeSystemClock(String) |
Synchronize the local time with the DAYTIME server using TCP protocol.
| |
| SynchronizeSystemClock(String, Int32) |
Synchronize the local time with the DAYTIME server using TCP protocol.
| |
| SynchronizeSystemClock(String, Int32, Boolean) |
Synchronize the local time with the DAYTIME server.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DefaultPort |
Default DAYTIME port number (13).
|
Properties
| Name | Description | |
|---|---|---|
| Timeout |
Gets or sets the length of time in milliseconds before the operation times out
(specify -1 or 0 to indicate that the request does not time out).
(Inherited from TimeBase.) | |
| UseTcp |
Gets or sets a value indicating whether to use the TCP protocol (default is UDP).
|