Summary
Upload file
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IFileService
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 |