public DownloadToAsync ( string downloadPath, CancellationToken cancellationToken = default(CancellationToken) ) : Task | ||
downloadPath | string | Path to save the file. |
cancellationToken | CancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
return | Task |