Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ntp Constructor

Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9147)

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.

In This Article
  • Ntp(String)
  • Ntp(String, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies