Property | Type | Description |
---|
Method | Description | |
---|---|---|
DownloadFile ( [ source, [ target, long bytesTotal = -1 ) : System |
Creates a new download task.
|
Method | Description | |
---|---|---|
CreateTargetStream ( ) : Stream |
public DownloadFile ( [ source, [ target, long bytesTotal = -1 ) : System | ||
source | [ | The URL the file is to be downloaded from. |
target | [ | The local path to save the file to. A preexisting file will be overwritten. |
bytesTotal | long | The number of bytes the file to be downloaded is long. The file will be rejected if it does not have this length. -1 if the size is unknown. |
return | System |