Click or drag to resize
SectionPostToFileDownloadRelationForStreamAsync Method (CancellationToken, FileDownload)
Calls the HTTP Post method on the link for the relation “fileDownload” asynchronously.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.9
Syntax
C#
public Task<DeserializedHttpResponse<Stream>> PostToFileDownloadRelationForStreamAsync(
	CancellationToken cancellationToken,
	FileDownload dataToSend
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token to cancel the request.
dataToSend
Type: DocuWare.Platform.ServerClientFileDownload
The data to send. This data is written into the request body.

Return Value

Type: TaskDeserializedHttpResponseStream
A task which runs the request.
Remarks
This method follows the link for the relation “fileDownload”.
See Also