IFileService.

UploadFileAsync(string, Stream, CancellationToken) Method

Summary

Upload file

Syntax

Task<IInputFile> UploadFileAsync(string name, Stream stream, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
name string File name
stream Stream File stream
cancellationToken CancellationToken Cancellation token

Return Value

Type Description
Task<IInputFile>