LeapSecondFileDownloadLeapSeconds Method (IWebProxy) |
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(
IWebProxy proxy
)
Public Shared Function DownloadLeapSeconds (
proxy As IWebProxy
) As LeapSecondsFacet
public:
static LeapSecondsFacet^ DownloadLeapSeconds(
IWebProxy^ proxy
)
static member DownloadLeapSeconds :
proxy : IWebProxy -> LeapSecondsFacet
Parameters
- proxy
- Type: System.NetIWebProxy
Proxy to use when connecting. Optional, default is null.
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