DataPA Enterprise Dashboard Controls API Reference
Downloads a file to a stream.

Namespace: DataPAClientConfig
Assembly: 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: Boolean
True if the file was downloaded.

Remarks