Click or drag to resize
NetworkTime Class
Allows to get local time from online server through the NTP protocol.
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibraryNetworkTime

Namespace: TreeksLicensingLibrary
Assembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax
public class NetworkTime

The NetworkTime type exposes the following members.

Constructors
  NameDescription
Public methodNetworkTime
Initializes a new instance of the NetworkTime class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetNetworkTime
Returns local time from specified ntp server.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodiGetNetworkTime
Returns local time from specified ntp server.
Public methodiTryGetNeworkTime
Tries to get time from time.windows.com, time.nist.gov and on fail returns local computer time.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberTryGetNetworkTime
Tries to get time from time.windows.com, time.nist.gov and on fail returns local computer time.
Top
Remarks