Click or drag to resize
SystemDateTimeValidationAddTimeServerCheck Method (String, Int32, Int32, Int32)
Add an SNTP server to the list of servers to check.

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
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