Creates an instance of Time class and binds it to the specified TIME server.
Namespace:
Rebex.Net
Assembly:
Rebex.Time (in Rebex.Time.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ serverName As String, _ serverPort As Integer _ ) |
C# |
---|
public Time( string serverName, int serverPort ) |
Parameters
- serverName
- Type: System..::..String
The TIME server hostname.
- serverPort
- Type: System..::..Int32
The TIME server port.