NetworkTimeTryGetNetworkTime Method |
Tries to get time from time.windows.com, time.nist.gov and on fail returns local computer time.
Namespace: TreeksLicensingLibraryAssembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax public static DateTime TryGetNetworkTime()
Public Shared Function TryGetNetworkTime As DateTime
public:
static DateTime TryGetNetworkTime()
static member TryGetNetworkTime : unit -> DateTime
Return Value
Type:
DateTimeDateTime object with actual time
Remarks See Also