SessionManagerDownloadFileFromWeb Method (String, Stream) |
|
DataPA OpenAnalytics API Reference
Downloads a file to a stream.
Namespace: DataPAClientConfigAssembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.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
)
DataPAClientConfig.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