SessionManagerDownloadFileFromWeb Method (String, Stream) |
|
DataPA OpenAnalytics API Reference
Downloads a file to a stream.
Namespace: DataPA.Utils.QueryEngineAssembly: DataPAQueryEngine (in DataPAQueryEngine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static bool DownloadFileFromWeb(
string URL,
ref Stream Stream
)
Public Shared Function DownloadFileFromWeb (
URL As String,
ByRef Stream As Stream
) As Boolean
public:
static bool DownloadFileFromWeb(
String^ URL,
Stream^% Stream
)
DataPA.Utils.QueryEngine.SessionManager.DownloadFileFromWeb = function(URL, Stream);
Parameters
- URL
- Type: SystemString
The URL of the file to download. - Stream
- Type: System.IOStream
Will return a new stream object with the file contents.
Return Value
Type:
BooleanTrue if the file was downloaded.
Remarks See Also