Click or drag to resize

EarthOrientationParametersFileDownloadRawData Method (IWebProxy)

Downloads the latest EOP file (EOP-v1.1.txt) 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.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 18.4.397.0 (18.4.397.0)
Syntax
public static string DownloadRawData(
	IWebProxy proxy
)

Parameters

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

Return Value

Type: String
A string containing the contents of the EOP returned from the server.
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