FileDownloadHttpResponseMessageFactory(Stream, ICompressor, String) Constructor

Initializes a new instance of the FileDownloadHttpResponseMessageFactory class with the specified Stream, ICompressor and file name.


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

Syntax

C#

public FileDownloadHttpResponseMessageFactory(
    Stream inputStream,
    ICompressor compressor,
    string fileName
)

Parameters

inputStream  Stream

A Stream that contains the data to be read.

compressor  ICompressor

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

fileName  String

The name 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