Downloads data from provided URI and save them to the file.

Namespace:  Rebex.Net
Assembly:  Rebex.Http (in Rebex.Http.dll)

Syntax

Visual Basic
Public Sub DownloadFile ( _
	uri As String, _
	filePath As String _
)
C#
public void DownloadFile(
	string uri,
	string filePath
)

Parameters

uri
Type: System..::..String
URI to retrieve data from.
filePath
Type: System..::..String
Path to a file where to store retrieved data.

Remarks

HTTP method GET is used to retrieve the data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also