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( FileInfo fileInfo, string contentType )
Parameters
- fileInfo
- Type: System.IOFileInfo
The file info. - contentType
- Type: SystemString
Type of the content.
Return Value
Type: HttpContentSee Also