Click or drag to resize
NetworkTimeiGetNetworkTime Method
Returns local time from specified ntp server.

Namespace: TreeksLicensingLibrary
Assembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
public DateTime iGetNetworkTime(
	string ntpServer = ""


ntpServer (Optional)
Type: SystemString
String URL address of time server. By default

Return Value

Type: DateTime
DateTime object with actual time
You don't have to create instance of NetworkTime object. This is here to provide support for non .NET applications using COM model, which does not support static class members.
See Also