Click or drag to resize

EarthOrientationParametersFileDownloadData Method (IWebProxy)

Downloads the latest EOP file (EOP-v1.1.txt) from an AGI server and returns the contents of the file as EarthOrientationParameters. This method connects via HTTPS to ftp.agi.com.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static EarthOrientationParameters DownloadData(
	IWebProxy proxy
)

Parameters

proxy
Type: System.NetIWebProxy
Proxy to use when connecting.

Return Value

Type: EarthOrientationParameters
A EarthOrientationParameters populated with the data returned from the server.
Exceptions
ExceptionCondition
InvalidDataException Thrown when there is an error parsing the EOP data returned from the download.
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