NetworkTime Class |
Namespace: TreeksLicensingLibrary2
The NetworkTime type exposes the following members.
Name | Description | |
---|---|---|
![]() | NetworkTime | Initializes a new instance of the NetworkTime class |
Name | Description | |
---|---|---|
![]() ![]() | Timeout |
You can use this property to set maximum time to wait for NTP server response (in milliseconds).
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetNetworkTime |
Returns date and time information from specified NTP server
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | iGetNetworkTime |
Returns date and time information from specified NTP server
|
![]() | iTryGetNewtorkTime |
Tries to get time from time.windows.com (or specified NTP server) and on failure returns local computer time.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | TryGetNetworkTime |
Tries to get time from time.windows.com (or specified NTP server) and on failure returns local computer time.
|