SocketTools .NET Edition

NetworkTime.TimeOptions Enumeration

Specifies the options that the NetworkTime class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum NetworkTime.TimeOptions
[C#]
[Flags]
public enum NetworkTime.TimeOptions

Remarks

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.

Members

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

Requirements

Namespace: SocketTools

Assembly: SocketTools.NetworkTime (in SocketTools.NetworkTime.dll)

See Also

SocketTools Namespace