Click or drag to resize

SemAlmanacDownloadRawAlmanac Method (JulianDate, IWebProxy)

Downloads the SEM Almanac from an Analytical Graphics Inc.server and returns the contents of the file as a string. This method connects via FTP to STK11-Online-Ops.agi.com.

Namespace:  AGI.Foundation.Navigation.DataReaders
Assembly:  AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 19.4.401.0 (19.4.401.0)
Syntax
public static string DownloadRawAlmanac(
	JulianDate dateOfAlmanac,
	IWebProxy proxy
)

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: String
A string that contains the file data from the almanac specified by dateOfAlmanac.
Exceptions
ExceptionCondition
DataUnavailableExceptionThrown when the data cannot be retrieved from the server.
Remarks
Note that an internet connection is required to use this method successfully.
See Also