NetworkTimeiTryGetNeworkTime 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 DateTime iTryGetNeworkTime()
Public Function iTryGetNeworkTime As DateTime
public:
DateTime iTryGetNeworkTime()
member iTryGetNeworkTime : unit -> DateTime
Return Value
Type:
DateTimeDateTime object with actual time
Remarks 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