DataPA Enterprise Dashboard Controls API Reference
Assembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)
True if the file was downloaded.
Downloads a file to a stream.
Namespace: DataPAClientConfigAssembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
C# |
---|
public static bool DownloadFileFromWeb( string URL, ref Stream Stream ) |
Visual Basic |
---|
Public Shared Function DownloadFileFromWeb ( URL As String, ByRef Stream As Stream ) As Boolean |
Visual C++ |
---|
public: static bool DownloadFileFromWeb( String^ URL, Stream^% Stream ) |
Parameters
- URL
- Type: System..::..String
The URL of the file to download.
- Stream
- Type: System.IO..::..Stream%
Will return a new stream object with the file contents.
Return Value
Type: BooleanTrue if the file was downloaded.