EarthOrientationParametersFileDownloadData Method (EarthOrientationParametersReadOptions, 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(
EarthOrientationParametersReadOptions readOptions,
IWebProxy proxy
)
Public Shared Function DownloadData (
readOptions As EarthOrientationParametersReadOptions,
proxy As IWebProxy
) As EarthOrientationParameters
public:
static EarthOrientationParameters^ DownloadData(
EarthOrientationParametersReadOptions^ readOptions,
IWebProxy^ proxy
)
static member DownloadData :
readOptions : EarthOrientationParametersReadOptions *
proxy : IWebProxy -> EarthOrientationParameters
Parameters
- readOptions
- Type: AGI.Foundation.CelestialEarthOrientationParametersReadOptions
Options for reading the file. - proxy
- Type: System.NetIWebProxy
Proxy to use when connecting. Optional, default is null.
Return Value
Type:
EarthOrientationParametersA
EarthOrientationParameters populated with the data returned from the server.
Exceptions Remarks Note that an internet connection is required to use this method successfully.
See Also