ContentHelperCreateFileContent Method (Stream, String)DocuWare Platform .NET API
Creates the content of the file.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax

C#
public static HttpContent CreateFileContent(
	Stream stream,
	string contentType
)

Parameters

stream
Type: System.IOStream
The stream.
contentType
Type: SystemString
Type of the content.

Return Value

Type: HttpContent
See Also

Reference