Specifies the options that the NetworkTime class supports.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
The NetworkTime class uses the TimeOptions enumeration to specify one or more options to be used when establishing a connection with a remote host. Multiple options may be specified if necessary.
| Member Name | Description | Value |
|---|---|---|
| optionNone | No option specified. | 0 |
| optionDefault | The default connection option. This is the same as specifying optionNone. | 0 |
| optionFreeThread | This option specifies that class methods may be called from any thread, and not only the thread that established the connection. Using this option disables certain internal safety checks that are made by the class and may result in unexpected behavior unless you ensure that access to the class instance is synchronized across multiple threads. | 524288 |
Namespace: SocketTools
Assembly: SocketTools.NetworkTime (in SocketTools.NetworkTime.dll)