Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebClient.DownloadFile Method

Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9147)

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.

In This Article
  • DownloadFile(String, String)
  • DownloadFile(Uri, String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies