Ntp Constructor
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9313)
Ntp(String)
Creates an instance of Ntp class and binds it to the specified NTP time server.
Declaration
public Ntp(string serverName)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | serverName | The time server hostname.  | 
    
Ntp(String, Int32)
Creates an instance of Ntp class and binds it to the specified NTP time server.
Declaration
public Ntp(string serverName, int serverPort)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | serverName | The time server hostname.  | 
    
| Int32 | serverPort | The time server port.  |