FileDownloadHttpResponseMessageFactory(FileStream, ICompressor, String) Constructor

Initializes a new instance of the FileDownloadHttpResponseMessageFactory class with the specified FileStream, ICompressor and content type.


Namespace: TcHmiSrv.Core.Tools.Net.Http.Factories
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public FileDownloadHttpResponseMessageFactory(
    FileStream inputFileStream,
    ICompressor compressor,
    string contentType
)

Parameters

inputFileStream  FileStream

A FileStream that contains the data to be read.

compressor  ICompressor

An ICompressor that is used to compress the data read from inputFileStream.

contentType  String

The content type of the file to be downloaded.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

FileDownloadHttpResponseMessageFactory Class FileDownloadHttpResponseMessageFactory Overload TcHmiSrv.Core.Tools.Net.Http.Factories Namespace

Copyright © Beckhoff Automation GmbH & Co. KG