WebClient.DownloadFile Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
DownloadFile(String, String)
Downloads data from provided URI and save them to the file.
Declaration
public void DownloadFile(string uri, string filePath)
Parameters
Type | Name | Description |
---|---|---|
String | uri | URI to retrieve data from. |
String | filePath | Path to a file where to store retrieved data. |
Remarks
HTTP method GET is used to retrieve the data.
DownloadFile(Uri, String)
Downloads data from provided URI and save them to the file.
Declaration
public void DownloadFile(Uri uri, string filePath)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | URI to retrieve data from. |
String | filePath | Path to a file where to store retrieved data. |
Remarks
HTTP method GET is used to retrieve the data.