LeapSecondFileDownloadLeapSeconds Method |
Downloads the latest leap second file (LeapSecond.dat) from an AGI server.
This method connects via HTTPS to ftp.agi.com.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static LeapSecondsFacet DownloadLeapSeconds()
Public Shared Function DownloadLeapSeconds As LeapSecondsFacet
public:
static LeapSecondsFacet^ DownloadLeapSeconds()
static member DownloadLeapSeconds : unit -> LeapSecondsFacet
Return Value
Type:
LeapSecondsFacetA new
LeapSecondsFacet initialized with the contents of the file.
Exceptions Remarks Note that an internet connection is required to use this method successfully.
See Also