IDownloadServiceDownloadFileTaskAsync(String, CancellationToken) Method |
Asynchronously downloads a file from the specified URL and returns a Stream object that contains the downloaded file data.
Namespace: DownloaderAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
SyntaxTask<Stream> DownloadFileTaskAsync(
string[] urls,
CancellationToken cancellationToken = default
)
Parameters
- urls String
- The download URLs of a file to download as parallel with mirror links.
- cancellationToken CancellationToken (Optional)
- A cancellation token that can be used to cancel the download operation.
Return Value
TaskStreamA Task object that represents the asynchronous download operation.
See Also