SystemDateTimeValidationAddTimeServerCheck Method (String, Int32, Int32, Int32) |
Add an SNTP server to the list of servers to check.
Namespace: com.softwarekey.Client.LicensingAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic void AddTimeServerCheck(
string host,
int port,
int sendTimeout,
int receiveTimeout
)
Public Sub AddTimeServerCheck (
host As String,
port As Integer,
sendTimeout As Integer,
receiveTimeout As Integer
)
public:
void AddTimeServerCheck(
String^ host,
int port,
int sendTimeout,
int receiveTimeout
)
Parameters
- host
- Type: SystemString
The host name or IP address of the Internet time server. - port
- Type: SystemInt32
The port from which the time server's NTP service may be reach (default is 123). - sendTimeout
- Type: SystemInt32
The amount of time(in milliseconds) before the attempt to send the request times out (default is 1000). - receiveTimeout
- Type: SystemInt32
The amount of time(in milliseconds) before the attempt to receive the request times out (default is 2000).
See Also