SemAlmanacDownloadAlmanac Method (JulianDate, IWebProxy) |
Downloads the SEM Almanac which was most recently published before the given date from an AGI server and returns the contents of the file as a
SemAlmanac.
This method connects via HTTPS to ftp.agi.com.
Namespace:
AGI.Foundation.Navigation.DataReaders
Assembly:
AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static SemAlmanac DownloadAlmanac(
JulianDate dateOfAlmanac,
IWebProxy proxy
)
Public Shared Function DownloadAlmanac (
dateOfAlmanac As JulianDate,
proxy As IWebProxy
) As SemAlmanac
public:
static SemAlmanac^ DownloadAlmanac(
JulianDate dateOfAlmanac,
IWebProxy^ proxy
)
static member DownloadAlmanac :
dateOfAlmanac : JulianDate *
proxy : IWebProxy -> SemAlmanac
Parameters
- dateOfAlmanac
- Type: AGI.Foundation.TimeJulianDate
The date for which the almanac is needed. - proxy
- Type: System.NetIWebProxy
Proxy to use when connecting.
Return Value
Type:
SemAlmanacA
SemAlmanac that contains data from the almanac most recently published before
dateOfAlmanac.
Exceptions Remarks Note that an internet connection is required to use this method successfully.
See Also